Wamp Change login password via phpMyAdmin

Source: Internet
Author: User
Tags phpmyadmin

After the initial installation of Wamp, the default MySQL is no password, this time if you want to change the password, you can follow the following steps:

First, open the phpMyAdmin and see the interface:

Second, navigate to find "user", and then find "edit permission" to make changes,

Third, go to the "Edit permissions" screen, find "Change Password", make a change password, and then click "Execute".

IV. Locate the config.inc.php file in the phpMyAdmin (path C:\WAMP2\apps\phpmyadmin4.1.14, which is the path of the C drive that will be Wamp installed)

Five, open the config.inc.php, find $cfg[' Servers ' [$i] [' Password '] line, modify, the code is as follows:

/*Authentication Type*/$cfg[' Servers '] [$i[' verbose '] = ' mysql wampserver ';//$cfg [' Servers '] [$i] [' auth_type '] = ' cookie ';$cfg[' Servers '] [$i[' auth_type '] = ' config ';$cfg[' Servers '] [$i[' user '] = ' root ';$cfg[' Servers '] [$i[' password '] = ' root '; //Change the password here to the password set in phpMyAdmin /*Server Parameters*/$cfg[' Servers '] [$i[' host '] = ' 127.0.0.1 ';$cfg[' Servers '] [$i[' connect_type '] = ' TCP ';$cfg[' Servers '] [$i[' compress '] =false;/*Select MySQL If your server does not has mysqli*/$cfg[' Servers '] [$i[' extension '] = ' mysqli ';$cfg[' Servers '] [$i[' allownopassword '] =true;

Wamp Change login password via phpMyAdmin

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.