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)05/31 Report--
This article mainly introduces the method of lifting the weight of phpmyadmin through the diary, which is very detailed and has a certain reference value. Interested friends must read it!
Phpmyadmin weak passwords are often seen, and today I'll introduce how phpmyadmin promotes power.
First of all, phpMyAdmin is a database management tool based on PHP and constructed on the host of the website by Web-Base, which allows managers to use Web interface to manage MySQL database. During installation, the default path is WWW/phpmyadmin
Get relevant information:
As you can see, this is the integrated environment of phpstudy. The general installation path is disk / package / phpstudy.
The next step is to check the path to the website. Here are two:
The first one: through the probe:
As can be seen from the above information, our absolute path is C:/phpstudy/phpstudy/WWW. Generally speaking, this is the root directory of the website, and the probe file is under subdirectory 12 under the root directory / this is also the path of phpmyadmin.
The second kind: enter phpmysql to get the directory of mysql through sql instruction, and then infer the path of the website.
Directive is select @ @ basedir
It can be concluded that the installation path of our mysql is Corex pedigrel, and from this we can infer that the root path of our website is C:/phpstudy/phpstudy/WWW.
The next step is the expansion of the rights.
The value of the MySQL global variable (general_log, general_log file).
General log refers to the saved state of the log. A total of two values (ON/OFF) ON means to enable OFF and to close. General log file refers to the path where the log is saved.
You can use sql instructions
Set global general_log = "ON"; # turn on the diary save state
SET global general_log_file='c:/phpStudy/phpstudy/WWW/infos.php' # modify the location of the diary
The next step is to write a sentence:
Connection successful:
Some people may ask why it is not written with one sentence, but with other sentences.
What we upload is a php pony, which is read from scratch during the connection process, because the previous one does not have the features of a php file.
The above is all the contents of this article entitled "phpmyadmin's method of claiming Rights through Diary". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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: 295
*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.