Ubuntu Install phpMyAdmin for MySQL

Source: Internet
Author: User
Tags gettext install php phpmyadmin

First, install MySQL

$ sudo apt-get install mysql-server$ sudo apt-get install mysql-client


Re-install phpMyAdmin

$ sudo apt-get install phpmyadmin$ sudo apt-get install php-mbstring$ sudo apt-get install Php-gettext


If you do not install the above two PHP packages, will be an error or white screen, the hint can not find /usr/share/php/php-gettext/gettext.inc and other errors


Establishing a soft connection under /var/www/html

$ sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin 


Modify PHP configuration file

$ sudo gedit/etc/php/7.0/apache/php.ini

display_errors = on(Error log appears, two times, change, otherwise invalid)
Extension=php_mbstring.dll (Removal ; Extension=php_mbstring.dll Before the semicolon can be opened mbstring)


Restart Apache


$ sudo/etc/init.d/apache2 Restart

use Friefox browser to access HTTP .// Localhost/phpmyadmin, You can enter your account password.


This article is from the "8231977" blog, please be sure to keep this source http://8241977.blog.51cto.com/8231977/1884427

Ubuntu Install phpMyAdmin for MySQL

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.