Advertising
- Untitled
- Saturday, August 4th, 2007 at 2:20:05am UTC
- └─(/etc/snort)-> mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 36
- Server version: 5.0.45-Debian_1ubuntu1-log Debian etch distribution
- Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
- mysql> CREATE DATABASE snort;
- ERROR 1007 (HY000): Can't create database 'snort'; database exists
- mysql> GRANT ALL PRIVILEGES ON snort.* TO 'snort'@'localhost' IDENTIFIED BY 'somepass';
- Query OK, 0 rows affected (0.00 sec)
- mysql> GRANT ALL PRIVILEGES ON snort.* TO 'snort'@'%' IDENTIFIED BY 'somepass';
- Query OK, 0 rows affected (0.00 sec)
- mysql> quit;
- Bye
- └─(/etc/snort)-> mysql -u snort -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 37
- Server version: 5.0.45-Debian_1ubuntu1-log Debian etch distribution
- Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
- mysql> \u snort;
- ERROR 1044 (42000): Access denied for user 'snort'@'localhost' to database 'snort;'
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.