In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail the method of clearing the phpmyadmin login password for you. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Phpmyadmin connects to the mysql database. For security reasons, empty passwords are not allowed to connect to the database by default. Because the database is generally set password access, but if it is only used in the local environment test, it is not very convenient to fill in the password every once in a while.
If you log in with an empty password without changing the configuration, phpmyadmin will return an error message:
Login without a password is forbidden by configuration (see AllowNoPassword)
We can modify the configuration file of phpmyadmin so that we can connect to the database with an empty password.
The configuration is modified as follows:
For example, the database account is root and the password is empty
Open the libraries/config.default.php file in the phpmyadmin installation directory, find the corresponding configuration, and modify it according to the values below.
/ / MySQL user$cfg ['Servers'] [$I] [' user'] = 'root';// MySQL password$cfg [' Servers'] [$I] ['password'] ='; / / Whether to try to connect without password$cfg ['Servers'] [$I] [' nopassword'] = true;// whether to allow login of any user without a password$cfg ['Servers'] [$I] [' AllowNoPassword'] = true On the method of clearing the phpmyadmin login password to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.