Jump to content
The Uniform Server Community

Unable to connect to MySql after editing pw file


Recommended Posts

Posted

I was connecting fine to my database using root as the password and user.

 

I edited the \home\admin\www\mysql_password file. Now I can not connect to my database, even if I try to change it back...

 

:D

Posted

As soon as you change the root username in the mysql_password file, that is the new password. So it has to be root/ and not root/root.

 

Make sure you do not chnage it elsewhere also... only in the mysql_password file.

 

Hope this helps..

  • 7 months later...
Posted

It is also important to make sure your text editor does not add a Windows/DOS line terminator (0x0D0A) to the mysql_password file. It took me quite a while last night to figure this out the hard way.

 

Also read the post by Yofazza in the topic "What is the mySQL password".

 

phpMyAdmin is an excellent program and the Uniform Server is a great package.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...