I am building my first application with MySQL database and I am solving
this problem - my app can't to connect to MySQL server.
MySQL server is running, in terminal (I am working at Mac) I created
MySQL table and I set password to MySQL with using following command:
mysqladmin -u root password 'mypass'
in database.yml is:
And now I am trying my application, I am getting in browser error:
Access denied for user 'root'@'localhost' (using password: YES)
I don't know what could be wrong -- the passwords are the same, I
thought is needed restart MySQL server -- so I did it, but still the
Could me someone help, please, where is fault? I am wondering about this
error whole afternoon, but without success...
Thanks a lot.