SQL database cannot be logged in with Localhost/phpmyadmin, which file is really to be modified

Source: Internet
Author: User
Tags phpmyadmin

Today, database extractor, in the address bar input localhost/phpmyadmin altogether show no access to the English .... Check the data are a lot of solutions, the basic is to click on the green W icon, and then find the Apache under the httpd.conf, and then the inside of the Deny from the 127.0.0.1 modified to all.

<directory/>    Options followsymlinks    allowoverride all    Order deny,allow    deny from all</ Directory>

But my original is this, later found to be modified the wrong file, and the Internet does not indicate that the real to find is under the alias directory under Apache Http://localhost/phpmyadmin under the edit alias, and the following code

<directory "C:/WAMP/APPS/PHPMYADMIN3.5.1/" >options Indexes followsymlinks multiviewsallowoverride allOrder Deny,allowdeny from Allallow to 127.0.0.1

</Directory>

Revision changed to

<directory "C:/WAMP/APPS/PHPMYADMIN3.5.1/" >    Options Indexes followsymlinks multiviews    allowoverride All        Order Deny,allowallow from all</directory>

Just need to change the contents of the inside of the line, which disk on the above is not changed, that is

Deny from Allallow from 127.0.0.1

If there's any 127.0.0.1 on it, replace all.

The results of the final modification are as follows:

Alias/phpmyadmin "C:/WAMP/APPS/PHPMYADMIN3.5.1/" # to give access to phpMyAdmin from outside # Replace the lines##        Or Der Deny,allow#allow from all## by##        Order allow,deny # allow from   all#<directory "f:/wamp/apps/ PHPMYADMIN3.5.1/">    Options Indexes followsymlinks multiviews    allowoverride all        Order deny,allowallow From all</directory>

Save, restart, fix

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.