Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install phpMyAdmin to manage the Mysql database

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Download the xampp installation package from https://www.apachefriends.org/download.html and install it with one click.

Install, by default, in the / opt directory.

[root@D2-AMLUATdb61] # chmod 755 xampp-linux-x64-7.1.4-0-installer.run

[root@D2-AMLUATdb61] #. / xampp-linux-x64-7.1.4-0-installer.run

Modify the configuration file / opt/lampp/etc/extra/httpd-xampp.conf to add Require all granted.

[root@D2-AMLUATdb61 ~] # vim / opt/lampp/etc/extra/httpd-xampp.conf

[root@D2-AMLUATdb61 ~] # grep-C 3 "Require all granted" / opt/lampp/etc/extra/httpd-xampp.conf

AllowOverride AuthConfig Limit

Require local

Require all granted

ErrorDocument 403 / error/XAMPP_FORBIDDEN.html.var

Start xampp.

[root@D2-AMLUATdb61 ~] # / opt/lampp/xampp start

Starting XAMPP for Linux 7.1.4-0.

XAMPP: Starting Apache...ok.

XAMPP: Starting MySQL...ok.

XAMPP: Starting ProFTPD...fail.

XAMPP: Another FTP daemon is already running.

After the browser enters the IP address, you can only see the local mysql database.

To manage other databases, you need to modify the configuration file / opt/lampp/phpmyadmin/config.inc.php.

[root@D2-AMLUATdb61 ~] # cp / opt/lampp/phpmyadmin/config.inc.php / opt/lampp/phpmyadmin/config.inc.php.bak

[root@D2-AMLUATdb61 ~] # vim / opt/lampp/phpmyadmin/config.inc.php

[root@D2-AMLUATdb61 ~] # cat / opt/lampp/phpmyadmin/config.inc.php

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report