Jump to content

Recommended Posts

I installed wamp2 on another computer, so I forgot what to do exactly.

 

I set it up and localhost works, but I need to change the password of mysql, and I remember there were a series of steps using the mysql console. Can anyone point me to the right direction?

Open WAMPs taskbar menu and open phpMyAdmin.

 

Now click the Privileges link and find the following entry in the "User overview" table:

root  	localhost  	No  	 ALL PRIVILEGES   	Yes

and click the edit icon (looks like a pencil).

 

Now scroll down to the "Change password" subsection and enter a password in the password boxes provided. Afterwards click the Go button.

 

You have now changed the MySQL password. You may find now PMA may be displaying a error message such as "Wrong username/password. Access denied."

 

You now need to configure PMA to use the new password you just set in order for it connect to MySQL. To do so open the config.inc.php file in "C:\wamp\www\phpmyadmin" (I think thats the path to PMA it may be different). Once open find the first instance of

$cfg['Servers'][$i]['password'] = '';

Add your new MySQL password between the quotes. Save the config.inc.php you should now be able to use PMA again.

Thanks it worked. But i edited the config.inc file although it said NOT to edit that file, but to edit config.inc.php, and that doesn't exist.

 

That point-and-click method is much easier to do AND remember than going through a bunch of commands via console. If one can't do that or other stuff with console, doesn't make him less knowledgeable with the language?

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.