Get the App
SLTechnology News&Howtos  ›  Database  › 

How to configure phpmyadmin and mysql passwords manually

Shulou Source: shulou.com Published: 2022-05-31 22:46:01 09月26日 Update

This article mainly introduces how to manually configure phpmyadmin and mysql passwords, the article is very detailed, has a certain reference value, interested friends must read it!

Option 1:

1. Enter in: mysql > status

two。 Select mysql database: mysql > use mysql

3. Change the user table data: mysql > update user set password=password ('new password') where user='root'

4. Activation permissions: mysql > FLUSH PRIVILEGES

5. Exit mysql:mysql > quit

Change the phpmyadmin password: find the configuration file in php, config.inc.php setting $cfg ['Servers'] [$I] [' password'] = 'set to the same password as the above database'

Option 2:

1.phpmyadmin

two。 Select mysql database

3. Scholar user table

4. Change User to root password

Change the phpmyadmin password: find the configuration file in php, config.inc.php setting $cfg ['Servers'] [$I] [' password'] = 'set to the same password as the above database'

The above is all the contents of the article "how to configure phpmyadmin and mysql passwords manually". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Password data configuration database manual content file scheme article selection value interest scholar buddy partner more permissions activation status knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Technology Linux MySQL Shulou Information