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.