Creating a database using a new user in mysql
Hi,
Kindly guide me how to create a database in newly created user in mysql. I have tried the following: Code:
mysql> create user 'guest' @'127.0.0.1' identified by 'sirsyed' Zulfi. |
You need to give the appropriate permissions. Read http://dev.mysql.com/doc/refman/5.1/en/grant.html (official, technical and boring) or http://kb.mediatemple.net/questions/...leges+in+MySQL (simpler to understand)
Hope this helps, |
You have to enable permission for user guest
GRANT ALL PRIVILEGES ON *.* TO 'guest'@'localhost' WITH GRANT OPTION; |
All times are GMT -5. The time now is 08:18 PM. |