Why does localhostphpmyadmin reject access ?? I installed wampserver. localhost can be opened, but when localhostphpmyadmin is opened, why ??? The wampserver is just installed, and the initial password of mysql is empty. In the config. inc. php file, http: // localhost/phpmyadmin/is access denied ??
When I install wampserver, http: // localhost can be enabled, but http: // localhost/phpmyadmin/is enabled, the following occurs:
Why ???
The wampserver is just installed, and the initial password of mysql is empty.
The data in the config. inc. php file also corresponds to mysql, as shown below:
$ Cfg ['servers'] [$ I] ['verbo'] = 'localhost ';
$ Cfg ['servers'] [$ I] ['host'] = 'localhost ';
$ Cfg ['servers'] [$ I] ['port'] = '';
$ Cfg ['servers'] [$ I] ['sockets '] = '';
$ 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'] = '';
------ Solution --------------------
$ Cfg ['servers'] [$ I] ['allownopassword'] = true; // Allow empty passwords
Have you set this?
------ Solution --------------------
Libraries/common. inc. php's 886 rows
------ Solution --------------------
No attention just now!
#1045-Access denied for user 'root' @ 'localhost' (using password: NO)
Apparently, your root user has a password.