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

How to install phpmyadmin on linux

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

Share

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

Editor to share with you how to install phpmyadmin on linux. I hope you will learn a lot after reading this article. Let's discuss it together.

1. Install phpMyAdmin graphical management tools

Install phpMyAdmin under the Linux operating system, extract the downloaded package "phpMyAdmin-2.11.5-all-languages.rar" to the root directory of the configuration environment, and rename the extracted folder to phpMyAdmin for ease of use.

The operations in command mode are as follows:

Mv phpMyAdmin-2.11.5-all-languages.rar/var/ww/htmltar zvxf phpMyAdmin-2.11.5-all-languages.rarmv phpMyAdmin-2.11.5-all-languages phpMyAdmin

Use the above three commands to extract the downloaded software package to the / var/www/html/ directory, thus completing the installation of the phpMyAdmin graphical management tool.

2. Configure phpMyAdmin graphical management tools

The configuration is done under the config.inc.php file in the phpMyAdmin directory, and change the configuration of the following parameters.

/ / set the value of parameter PmaAbsoluteUri to the location of phpMyAdmin: $cfg ['PmaAbsoluteUri'] =' http://localhost/phpMyAdmin';$cfg['blowfish_secret']='cookie'; / / set the access method to Cookie$cfg ['Servers'] [$I] [' host'] = 'localhost'; / / set the hostname or IP address where MySQL is located $cfg [' Servers'] [$I] ['auth_type'] =' http' / / set the way to enter phpMyAdmin management MySQL $cfg ['Servers'] [$I] [' user'] = 'root'; / / set the account for managing MySQL $cfg [' Servers'] [$I] ['password'] =' root'; / / set the password for managing MySQL

Save the file after the parameter is set, and restart the Apache server.

Enter "http://localhost/phpMyAdmin/"" in the browser's address bar to open the phpMyAdmin graphical management main page for database operation.

After reading this article, I believe you have a certain understanding of how to install phpmyadmin on linux, want to know more about it, welcome to follow the industry information channel, thank you for reading!

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