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/1884431
Ubuntu Install phpMyAdmin for MySQL