How to configure phpmyadmin and mysql passwords manually
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!