$ mysql -uroot -p
mysql> grant select,insert,update,delete,drop,alter,create
on test.* to 'testuser'@'localhost' identified by 'testpw';
Query OK, 0 rows affected (0.00 sec)
mysql> revoke alter on test.* from 'testuser'@'localhost';
Query OK, 0 rows affected (0.00 sec)
mysql> exit
|