LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   mySQL - local user privileges (https://www.linuxquestions.org/questions/programming-9/mysql-local-user-privileges-261794/)

Genjix 12-02-2004 12:25 PM

mySQL - local user privileges
 
MySQL only lets me play with databases only as root, although I can create new servers using a local user.

mysql> create database amir;
ERROR 1044: Access denied for user: '@localhost' to database 'amir'

the thing is I dont know how to go about adding any new users. Id also rather not have to use a login name and password whenever i start the mysql client from a local (unprivileged) user.

sigsegv 12-02-2004 05:49 PM

Users that can create databases are not unpriiledged ...

Read this

Genjix 12-03-2004 08:03 AM

thanks, what i meant by unprivileged was non root user, not unprivileged in mysql, i wanted the user to unprivileged user but privileged in mysql :S


All times are GMT -5. The time now is 09:12 PM.