Wampserver Latest Version MySQL modify database password

Source: Internet
Author: User

Because the Wampsever version of the update will cause the previous version of the password modification caused the failure, mainly due to password field changes !

First step into MySQL console

Wamp installed, the database is no password enter the console directly to return to the

The second step uses the update user set Password=password (' password you want to modify ') where user= ' root ';
Note: Do not omit semicolons and quotation marks

如果报错了 不要急  新版本有些变动  

The first two steps completed the password has not yet taken effect need to use the following command to refresh the table flush privileges; So that the password takes effect

If you are using phpMyAdmin to access the database, you also need to modify the configuration files in the Wamp/apps/phpmyadmin
In config.inc.php

$cfg [' Servers '] [$i] [' password '] = ' Your modified database password ';

Save it, you can.

Wampserver Latest Version MySQL modify database 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.