phpMyAdmin modify MySQL password with phpMyAdmin Unable to sign in solution _php Tutorial

Source: Internet
Author: User
There are many ways to modify the MySQL password method, the most commonly used is to use phpMyAdmin to change the password, if such as we do not command and also in the command mode to modify the MySQL password feel very difficult, I would like to introduce phpMyAdmin to modify the MySQL password method introduced.

Modify Password method

First, through the browser login phpMyAdmin console, click "Permissions",

Second, check the root user, and click on the following "Edit Permissions",

Third, in the middle of the open page, find the "Change Password" column, enter two times the new password, and click the "Execute" button;


Note that you will be prompted when you change your password and then log in with phpMyAdmin

After repairing the MySQL password in phpMyAdmin, phpMyAdmin can not login, the error prompt is:

Welcome to use PhpMyAdmin 2.9.0
Probably reason of this is so you do not create a configuration file. You might want to use the setup script to create one.
Error

MySQL return:

#1045-access denied for user: ' Root@localhost ' (Using password:no)


The solution is

Enter the XAMPP installation directory, modify the xampp/phpmyadmin/config.inc.php file, locate and set the password to start the change, such as $cfg[' Servers ' [$i] [' password '] = ' 8888 ';

In addition, we can click "Permissions" to see the entire database of users as follows, you can click "Action" to modify the user password, modify config.inc.php accordingly.

http://www.bkjia.com/PHPjc/630685.html www.bkjia.com true http://www.bkjia.com/PHPjc/630685.html techarticle There are many ways to modify the MySQL password method, the most commonly used is to use phpMyAdmin to change the password, if such as we do not command also in the command mode to modify the MySQL password feel very laborious ...

  • 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.