views:

338

answers:

2

Wanted to get started with Ruby on Rails so I installed instant rails and set up a mysql password. Problem is now I can't get access to phpmyadmin.

From the rails control panel, when I go to configure >> database (via PhpMyadmin) it opens up phpmyadmin with the message

Error

MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password:

NO)

When I used to use XAMPP after setting a password instead of taking me directly within phpmyadmin (as it did without a password) it took me to the login screen instead. With instant rails that's not the case. Anyone had this problem when they first set a mysql password and using the instant rails package?

A: 

You have a root account with no password. It would be best to have a look into the conf file located in your phpmyadmin directory and check with the password.

Shripad K
A: 

To login in PHPMyAdmin try this workaround PHPMyAdmin MySQL Error 1045 - Access denied for user root@localhost (using password: NO)

Manx