Monday, February 5, 2007

mysql grant all

mysql

mysql -u admin -p
mysql> use mysql

grant all on user.* to 'user'@'localhost' identified by 'pass';
SHOW GRANTS FOR user@localhost;

No comments:

Digg / Technology

Blog Archive