Access denied to mysql database -


i created database named auth yesterday in mysql.

today, went access use auth; got output

error 1044 (42000): access denied user ''@'localhost' database 'auth' 

i never used have problem when created , used databases.

connect database root

mysql -u root -pyourpassword 

(change yourpassword password have root or leave in blank in case havent set it). should have access db. check thread how set permissions users mysql add user guide.


Comments