GRANT all ON test_db.* TO sample@localhost IDENTIFIED BY 'password';
REVOKE ALL ON test_db.* FROM sample@localhost;
( 該当ユーザは一度 mysqlを終了して抜ける )
http://dev.mysql.com/doc/refman/4.1/ja/grant.html
GRANT FILE ON *.* TO sample@localhost IDENTIFIED BY 'password';
show grants for test_user@localhost;
flush privileges;