Ubuntu Installation phpMyAdmin

Source: Internet
Author: User
Tags phpmyadmin
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

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.