How to set password for phpMyAdmin with default install of WAMP2?

Posted by Danjah on Server Fault See other posts from Server Fault or by Danjah
Published on 2011-02-14T01:24:21Z Indexed on 2011/02/14 7:27 UTC
Read the original article Hit count: 530

Filed under:
|
|

I just installed it fresh, previously there would be no password at all and I'd be prompted to set one for security purposes, this time I'm just hit with an error:

"Cannot connect: invalid settings. phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server."

I've changed nothing, but I did install over the top of an older version of WAMP2. That older install did not have a root password. Please don't hit me, but if there's a text fie I can update somewhere instead of getting a cmd line action wrong... I'd really like to be pointed in that direction.

I've just tried editing 'my.ini' and uncommented the password line out, so password is blank, but no luck. I don't mind setting a password and such, but right now I just want to get up and running, password or no.

© Server Fault or respective owner

Related posts about mysql

Related posts about password