My xampp version is Xampp-linux-x64-5.6.15-2-installer.run,
Browser input "My Ip/phpmyadmin" has the following problems:
Access forbidden!
New XAMPP Security Concept:
Access to the requested directory was only available from the local network.
This setting can is configured in the file "httpd-xampp.conf".
There are a lot of answers to the online search, and there are two answers that appear most:
1, find httpd-xampp.conf in this section of the Require local, this paragraph can be commented out
2, find this section of the httpd-xampp.conf <locationmatch "^/(? I: (?: xampp|security|licenses|phpmyadmin|webalizer| Server-status|server-info)) ", remove phpMyAdmin to
but!!!!!
According to the 1 method, invalid!
According to the 2 method, according to a ball, can not find in 2 of this paragraph
Continue the search. A solution was found.
Links to good people: http://blog.csdn.net/YellowStar5/article/details/53446676
Also: If you want to reset the root password to phpMyAdmin and MySQL settings, you can do so by following the link.
Finally, if you want to start the MySQL command line with Mysql-u Root-p, the results won't work. After searching online, I found that I did not set up a soft connection for MySQL. My settings are as follows: Ln-s/opt/lampp/bin/mysql/usr/bin
Why do this, online says:
Cause: This is because the system will find the command under/usr/bin by default, if this command is not in this directory, of course, will not find the command, we need to do is to map a link to the/usr/bin directory, equivalent to create a link file.
First you need to know the full path to the MySQL command or mysqladmin command
Finally visit phpMyAdmin, found no password on the entry. Clearly set the password ah. What's going on.
My configuration file vim/opt/lampp/phpmyadmin/config.inc.php
Two places modified:
1, will $cfg [' Servers '] [$i] [' auth_type '] = ' config '; modified to $cfg [' Servers '] [$i] [' auth_type '] = ' cookie ';
2, $cfg [' Servers '] [$i] [' allownopassword '] = true; modified to $cfg[' Servers ' [$i] [' allownopassword '] = false;
Other people may be the XAMPP version of the different, then find the information it
XAMPP Access phpMyAdmin cannot access