Ubuntu Installation phpMyAdmin
Installation steps
1 Apt-get Install phpMyAdmin
2 installed after the default installation location is in/usr/share instead of/var/www so need to link it to/var/www, copy words seemingly need to change the configuration file, quite troublesome.
Link command ln-s/usr/share/phpmyadmin/var/www/phpmyadmin
3 in the Address bar open phpMyAdmin localhost/phpmyadmin Enter account password, after entering the page you may find that on the left side there will be an error said the table does not exist. If this is not the case, then congratulations on your installation success. If the show appears, please see 4.
4. The reason for the error is that there is no phpMyAdmin required database in the database, so we need to add a database ourselves.
5. This file is not examples in the phpMyAdmin installation file of the install installation. So we need to go to the Internet to find a corresponding version of the phpMyAdmin file, download it down to extract the examples folder, and then find create_tables.sql this SQL file. Copy to/var/www/below.
6. Open MySQL, the specific command is mysql-u your database username-p your database password into the database after the input source/var/www/create_tables.sql so OK.
7. Please leave a message if you have any questions