Install and configure phpMyAdmin in Fedora

Source: Internet
Author: User
PhpMyAdmin is mainly used to manage mysql on the web interface. The Installation Method in Fedora is as follows: 1. yuminstallphpMyAdmin uses phpMyAdmin installed by yum. Its path is as follows: installation path:/usr/share/phpMyAdminApache configuration file:/etc/httpd/conf. d/phpMyAdmin. conf2.phpMyAdmin configuration: & nbs

PhpMyAdmin is mainly used to manage mysql on the web interface. The Installation Method in Fedora is as follows:

1. yum install phpMyAdmin

The path of phpMyAdmin installed using yum is as follows:

Installation path:/usr/share/phpMyAdmin

Configuration File in Apache:/etc/httpd/conf. d/phpMyAdmin. conf

2. phpMyAdmin Configuration:
Modify the phpMyAdmin configuration file: My configuration file is config. inc. php, under/etc/phpMyAdmin

$ Cfg ['servers'] [$ I] ['controluser'] = 'root'; // root user of MySQL

$ Cfg ['servers'] [$ I] ['controlpass'] = '000000'; // your MySQL Root User Password

$ Cfg ['servers'] [$ I] ['user'] = ''; // MySQL Username

$ Cfg ['servers'] [$ I] ['Password'] = ''; // password of your MySQL user

Other configuration options can be set as needed. You can also use the default settings.

3. httpd service configuration: phpMyAdmin requires the help of the httpd service. This step is very important.

A. First find the phpMyAdmin installation path. My Fedora13 is installed under/usr/share/phpMyAdmin.

B. Note that your httpd service has been enabled. If not, run the following command:
Sudo chkconfig -- level 345 httpd on // set the startup Service
Sudo service httpd start // start the service immediately
In this case, you can test it. Enter http: // localhost/in the browser. A test page is displayed, indicating that the test is successful.

C. Connect the phpMyAdmin installation path to the httpd service directory:
Sudo ln-s/usr/share/phpMyAdmin/var/www/phpMyAdmin
Enter http: // localhost/phpMyAdmin in the browser. The phpMyAdmin logon interface is displayed, indicating that the logon is successful.

Related Article

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.