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

The method of installing and configuring phpmyadmin in linux system

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

Share

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

This article mainly introduces the method of installing and configuring phpmyadmin in linux system, which is very detailed and has certain reference value. Friends who are interested must read it!

First, 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.

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.

These are all the contents of this article entitled "how to install and configure phpmyadmin on a linux system". 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: 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