2

一个人如何在 MySQL 中创建特权用户(而不是 root ),其唯一目的是创建其他用户?

但是,此用户一次只能授予对一个数据库的访问权限。

是否可以向用户授予有限的 GRANT 权限?

4

1 回答 1

-1
    yes you can create mysql user and  grant limited permissions using phpmyadmin    
     interface and also by command 
    use following command for creating user and grant permissions



        CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';

      GRANT SELECT ON database.* TO 'user'@'localhost';

你可以进一步探索

http://dev.mysql.com/doc/refman/5.1/en/adding-users.html http://dev.mysql.com/doc/refman/5.1/en/grant.html

于 2013-11-13T07:36:53.823 回答