Http: // localhost/phpmyadmin/What is the problem of access rejection?

Source: Internet
Author: User
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.

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.