phpMyAdmin setting of the database password

Source: Internet
Author: User
Tags phpmyadmin

Modify MySQL database password with phpMyAdmin

There are a lot of ways to modify MySQL database passwords, and here's a simple way to use phpMyAdmin to modify them.

Tools/Materials
    • phpMyAdmin Software
    • MySQL Database
Method/Step
  1. The initial database password is empty.

  2. The first step is to click on the user option in phpMyAdmin.

  3. Select the root localhost user name and click Edit Permissions.

  4. At this point will come out to modify the permissions of the page, which can be set options or more, temporarily regardless of the other, down, there will be a Change password area.

  5. Enter two new password, below a Build button, this is based on the password you are currently set to generate a new password, then your password is the generated string, if you want to use your own password, then do not click the "Generate" button.

  6. Here we use the password set by ourselves and click on Execute.

  7. If the popup password changes the successful prompt, the password has been modified successfully.

  8. When the client tries to log in with the new password once, it can be found that the password has been modified successfully.

  9. Change the password basic to this completion, but there will be a follow-up problem, modify the database password, when the exit phpMyAdmin and then come in and found that the connection is not on the database, this is because the phpMyAdmin database login information or original, so landing not on.

  10. 10

    Workaround: Open the phpMyAdmin installation directory, locate the config.inc.php file, and open it with Notepad or another text editor.

  11. 11

    Find the inside $cfg[' Servers ' [$i] [' password '] = '; Change to the new password you just set, save the exit.

  12. 12

    Open phpMyAdmin again, can be connected properly, modify the password to complete.

    END
Precautions
    • 5th Step When you enter a new password, if you click Generate, the password will be the generated password, and no longer the password you entered.
  

phpMyAdmin setting of the database password

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.