简体   繁体   中英

phpmyadmin stopped working after installing wamp server 2

hi had a working phpmyadmin which stopped working when i installed a new version of wamp 2 for windows 32bit.

Now i have mysqlBuddy appearing in my localhost homepage and it mysqlBuddy works but when i click on phpmyadmin it doesn't work. The error i am getting is Access Denied . please read below error.

> Error
>     
>         MySQL said: Documentation Cannot connect: invalid settings.
> phpMyAdmin tried to
> 
>  connect to the MySQL server, and the
> server rejected the connection.  You
> should check the host, username and
> password in your configuration and
> make  sure that they correspond to the
> information given by the 
> administrator of the MySQL server.

i have checked the config.inc.php file which is under the phpmyadmin folder to see the config settings and they are all ok

/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

i do not know how else i can fix this. ?

Just to cover all bases - Have you tried restarting WAMP server after changing PHPMyAdmin's configuration?

If you still cannot connect, try resetting your MySQL root password by following the instructions here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM