Linux installation phpMyAdmin detailed steps

Source: Internet
Author: User


PhpMyAdmin 3.x version requires more than php5.2, mysql5.0 above,

phpMyAdmin is a MySQL management tool that manages MySQL directly from the web


1: Upload phpmyadmin-3.4.5-all-languages.tar.gz

2: Unzip # tar ZXVF phpmyadmin-3.4.5-all-languages.tar.gz

3: Rename # mv Phpmyadmin-3.4.5-all-languages.tar.gz

after the installation is complete, you can find the phpMyAdmin in the/usr/share directory and copy it to your web directory


4: Find the phpmyadmin/libraries/config.default.php file

Copy the config.default.php to the phpMyAdmin directory and rename it to config.inc.php


5: VI Edit the config.inc.php file:

A. Find $cfg [' Pmaabsoluteuri '] to modify the URL of the phpmyadmin you will be uploading to the space:

such as: $cfg [' pmaabsoluteuri '] = ' http://192.168.1.11/phpMyAdmin/';


B. Find $cfg [' Servers '] [$i] [' host '] = ' localhost '; ( usually with the default, there are exceptions, can not be modified )


C. Find $cfg [' Servers '] [$i] [' auth_type '] = ' config ';

Debug with config in your own machine; if the space on the network uses cookies

Here we have added a URL in front of the change to a cookie, it is recommended to use cookies


D. Find $cfg [' Servers '] [$i] [' user '] = ' root '; MySQL user (mysql username, root in your own machine)


E. Find $cfg [' Servers '] [$i] [' password '] = '; MySQL Password

(MySQL user's password, his server is generally the password of the MySQL user root)


F. Find $cfg [' Servers '] [$i] [' only_db '] = '; If set to a db-name, only

( you have only one data to set it up; If you're on this machine or want to build a server, leave the suggestion blank )


G. Find $cfg [' defaultlang '] = ' zh '; ( here is the choice of language, zh for Simplified Chinese meaning, here do not know to fill GBK to no )

H. Save after Setup is complete


6. Test: Enter http://192.168.1.11/phpMyAdmin/in the browser

Note: phpMyAdmin is placed in www file

Change your password


Linux installation phpMyAdmin detailed steps

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.