In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Preface
CentOs installation and configuration of phpMyAdmin is actually very simple, the so-called installation actually does not exist, because phpMyAdmin is written by php, so you only need to download the installation package and decompress it, and then you can use it in a simple configuration. Here is how to correctly configure phpMyAdmin for his home.
Installation:
1. First download the source code package on phpMyAdmin's official website http://www.phpmyadmin.net/downloads, or download: / / www.jb51.net/codes/405261.html, upload it to the server and decompress it, or download and install it through the Linux command (recommended)
Cd / usr/local/src
2. Download the phpMyAdmin installation package
Wget https://files.phpmyadmin.net/phpMyAdmin/4.6.0/phpMyAdmin-4.6.0-all-languages.tar.gz
3. Decompress the file
Tar zxvf phpMyAdmin-4.6.0-all-languages.tar.gz
4. Put phpMyAdmin-4.6.0-all-languages under the web directory
Mv phpMyAdmin-4.6.0-all-languages / usr/local/nginx/html
5. Rename
Mv phpMyAdmin-4.6.0-all-languages phpMyAdmin
Configuration:
Cd / usr/local/nginx/html/phpMyAdmin/librariesvim config.default.php
1. Modify the following three areas
$cfg ['Servers'] [$I] [' host'] = '127.0.0.1' [Servers'] [$I] ['user'] =' root';$cfg ['Servers'] [$I] [' password'] = '123456'
Error report:
Mysqli_real_connect (): (HY000/2002): No such file or directorymysqli_real_connect (): (HY000/2002): No such file or directory
Solution:
Change the configuration file config.sample.inc.php in the phpmyadmin directory to config.inc.php. And modify the following:
$cfg ['Servers'] [$I] [' host'] = 'localhost';# changed to $cfg [' Servers'] [$] ['host'] =' 127.0.0.1'
Refresh the page again and there will be no error message for mysqli_real_connect (): (HY000/2002): No such file or directory.
Visit:
This project is placed under the nginx test directory html, enter ip:/phpMyAdmin in the browser, and then enter the user name and password.
Summary
The above is the whole content of this article, I hope that the content of this article has a certain reference and learning value for your study or work, if you have any questions, you can leave a message and exchange, thank you for your support.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.