mysql new user access denied error.
Hi,
Its a mysql question but most linux user would know it so I am posting. I created a new user Code:
Code:
~]# mysql -u fake -p Thanks |
If you set the user up as 'localhost' instead of '%' does it work?
|
I tried adding another id.
Code:
Code:
~]# mysql -u fake2 -p |
Quote:
Its too simple brother , You have to flush the privileges to make mysql reread the user table, so after inserting just do it; Quote:
|
yes!!!!!!!!!!!!!!!!
that's way I like LQ. |
You'd be better off using the GRANT cmd; you're not really supposed to mess with the users table directly.
http://dev.mysql.com/doc/refman/5.0/en/grant.html |
All times are GMT -5. The time now is 11:40 AM. |