Wampserver to modify the MySQL password

Source: Internet
Author: User
Tags phpmyadmin

1. After successful installation, through phpMyAdmin into MySQL, click on the "User" menu above, in the user "root" host "localhost" click Edit permissions, there is an option "Change Password", enter the password you want, such as: 123456.

2. Now the MySQL password has been modified successfully. But phpMyAdmin is still unable to communicate with MySQL. So let's modify the phpMyAdmin configuration file below.

3. Enter the Wampserver installation directory, such as c:/wamp/apps/phpmyadmin3.5.1

4. Open the (www.111cn.net) config.inc.php file. Modify approximately 16 lines of code $cfg [' Servers '] [$i] [' Password ']= ' Your modified password ', such as: 123456

5. Then enter the directory and open the c:/wamp/apps/phpmyadmin3.5.1/libraries/config.default.php file, modifying approximately 215 lines of code $cfg [' Servers '] [$i] [' Password ' = ' your modified password '; if 123456

Restart Wampserver. The password has been modified successfully

Wampserver to modify the MySQL password

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.