Steps for WampServer to change Mysql password, wampserver to modify mysql

Source: Internet
Author: User

Steps for WampServer to change Mysql password, wampserver to modify mysql

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 (www.111cn.net. 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.
From: http://www.111cn.net/database/mysql/58544.htm


I have installed WampServer, but the mysql root Password is empty. How can I set the root password?

Go to phpadmin, create a database, Set permissions, and set the password.

Modify the client password of the my. ini file.
 
You cannot enter the mysql console after changing the password of WampServer 20i

Just reload it once !!!
If the data in the database is important, we recommend that you back up the data first !!!
 

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.