Steps for WampServer to change the Mysql password

Source: Internet
Author: User

1. after the installation is successful, go to mysql through phpmyadmin, click the user menu above, and click Edit permission on the user root host localhost. The following is an option to change the password ], enter the password you want, for example, 123456.

2. Now the mysql password has been modified successfully. However, phpmyadmin cannot communicate with mysql. So next we will modify the phpmyadmin configuration file.

3. Enter the wampserver installation directory, such as C:/wamp/apps/phpmyadmin3.5.1.

4. Open the config. inc. php file. Modify about 16 lines of code $ cfg ['servers'] [$ I] ['Password'] = 'your password', for example: 123456

5. then go to the directory and open C:/wamp/apps/phpmyadmin3.5.1/libraries/config. default. php file, modify about 215 lines of code $ cfg ['servers'] [$ I] ['Password'] = 'your password'; for example, 123456

Restart wampserver. The password has been modified.

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.