Summary of phpMyAdmin installation and configuration in Linux

Source: Internet
Author: User

After Apache + MySQL + PHP is installed in linux, phpMyAdmin is an excellent database management software.

1. Extract

// Because the current server software is installed under/opt/, which are/opt/apache,/opt/mysql,/opt/php, therefore, the root directory of the current server is/opt/apache/htdocs. my phpmyadmin-2.7.0.tar.gz was put in the/myfile/phpmyadmin/directory.

# Cp/myfile/phpmyadmin/phpMyAdmin-2.7.0.tar.gz/opt/apache/htdocs

# Cd/opt/apache/htdocs

# Tar zxvf phpMyAdmin-2.7.0.tar.gz

# Cd phpMyAdmin-2.7.0

# Vi config. default. php

Then press I:

$ Cfg ['servers'] [$ I] ['auth _ type'] = 'config ';

// If your machine is a server on the network, change this item to the following sentence.

$ Cfg ['servers'] [$ I] ['auth _ type'] = 'http ';

// Set the following configuration lines

$ Cfg ['servers'] [$ I] ['Password'] = '';

// Change the value to the root password of Mysql.

$ Cfg ['servers'] [$ I] ['Password'] = 'yourmysqlrootpassword ';

Press the "Esc" key and enter: wq! Save and exit.

2. Restart Apache and Mysql servers.

#/Opt/apache/bin/apachectl restart

#/Opt/mysql/share/mysql. server restart

3. Open the browser

Http://localhost/phpMyadmin-2.7.0/index. php

The phpmyadmin interface is displayed, so that your phpmyadmin is successfully installed!

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.