In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to build phpmyadmin on the website. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The method of building phpmyadmin on the website:
Prepare the environment
Httpd php php-mysql
[root@DB3 ~] # yum install httpd php php-mysql-y
Unpack and specify the release path
PhpMyAdmin-4.7.5-all-languages.tar.gz
[root@DB3] # tar-xvf phpMyAdmin-4.7.5-all-languages.tar.gz-C / var/www/html/
Rename and decompress to get the directory for easy access
[root@DB3 html] # mv phpMyAdmin-4.7.5-all-languages phpadmin
Change permissions for security reasons
[root@DB3 html] # chown-R apache:apache phpadmin
Prepare the phpmyadmin profile
[root@DB3 phpadmin] # cp config.sample.inc.php config.inc.php
Modify the configuration file
Modify lines 17 and 31 of config.inc.php
[root@DB3 phpadmin] # vim config.inc.php
17$ cfg ['blowfish_secret'] =' heya'; / * YOU MUST FILL IN THIS FOR COOKIE AUTH! * /
31$ cfg ['Servers'] [$I] [' host'] = 'localhost'
Line 17 needs to add characters casually between the two single quotes in $cfg ['blowfish_secret'] =' 'for COOKIE cache verification.
Line 31 is to change ['host'] =' localhost'; localhost to the IP address of your database, and Ned's data is on the local computer, so it's time to localhost.
Start the service and test it on the client side
[root@DB3 phpadmin] # systemctl restart httpd
For client testing, just find a machine that can be connected to the machine just set up for testing.
Enter the IP/phpadmin/ of the http:// machine in the browser
Thank you for reading! This is the end of the article on "how to build phpmyadmin on the website". I hope the above content can be of some help to you, so that 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.