Home > Backend Development > PHP Tutorial > Steps to change Mysql password in WampServer wampserver installation tutorial wamp wampserver download

Steps to change Mysql password in WampServer wampserver installation tutorial wamp wampserver download

WBOY
Release: 2016-07-29 08:53:13
Original
1289 people have browsed it

1. After successful installation, enter mysql through phpmyadmin, click the [User] menu above, click Edit Permissions on the user [root] host [localhost], there is an option [Change Password] below, enter the password you want, such as :123456.

2. Now the mysql password has been changed successfully. But phpmyadmin cannot communicate with mysql yet. So below we 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 modified password', such as: 123456

5. Then enter 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'] = 'Password you modified'; such as 123456

Restart wampserver. The password has been changed successfully

The above introduces the steps for changing the Mysql password with WampServer, including the content of wampserver. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template