How to Fix ubuntu phpmyadmin error: “Connection for controluser as defined in your configuration failed”

Recently when Ubuntu 12.04 was developed with PhpmyAdmin, Connection for Controluser as defined in your Configuration failed after logging in
This tip, when I looked it up, was an extension to the new PHpmyAdmin version, and I didn’t enable it.
Now take a look at your own steps:
1. In the usr/share/doc/phpmyadmin/examples find create_table. SQL. Gz, decompression
Sudo Gzip create_table.sql.gz can then import the SQL file directly from phpmyAdmin
2. After successful import, go to the directory etc/phpmyadmin and modify config.inc. PHP
$dbuser = ‘phpmyadmin’;
$dbpass=’ password ‘;
$basepath=”;
$dbname=’phpmyadmin’;
$dbserver=”;
$dbport=”;
$dbtype=’mysql’;
// So I changed the next two lines
$dbuser = ‘phpmyadmin’;
$dbpass=’ password ‘; // change the password to the corresponding user
3. Restart apache server after modification
The error message will disappear,

Reference:
http://ckwsteven.pixnet.net/blog/post/27469170-phpmyadmin%E9%8C%AF%E8%AA%A4%E8%A8%8A%E6%81%AF%EF%BC%9A-connection-for-controluser-as-defi
http://www.rvdavid.net/how-to-fix-phpmyadmin-error-connection-for-controluser-as-defined-in-your-configuration-failed/
http://wiki.phpmyadmin.net/pma/pmadb

Read More: