楼主没有说清楚,如果是远程权限,那么
mysql> grant all privileges on *.* to cc@'10.0.0.1' identified by 'password';
Query OK, 0 rows affected (0.02 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
关于其他的还是看
http://yangxingjun.myrice.com/chinesehow/mysql/manual_Privilege_system.html

解决方案 »

  1.   

    grant 后不需要flush privileges;
    只有update或手动修改mysql.user的时候才需要
      

  2.   

    使用DBTools manager,你会知道怎么做
      

  3.   

    在主机端设置:GRANT create,drop,select,insert,update,delete ON database1.* TO 'username'@localhost IDENTIFIED BY 'password';
      

  4.   

    用PHPMYADMIN是可以设置的,在2.3.0 rc3中,首页, 使用者那里.