phpMyAdmin directly with MySQL, so security is very critical, some friends for the sake of convenience, there is no password for phpMyAdmin to set a login, this is very dangerous, if the address is known to others, then your MySQL is finished. So for the sake of security, we still have to set a password for the phpMyAdmin, in general, this password is consistent with the MySQL password, by default, phpMyAdmin does not open to allow login to enter the function, we can use the following code to open this feature:
Open the config.inc.php in the phpMyAdmin root directory and modify it as follows:
1$cfgservers[$i] [' Auth_type ']= ' cookies ';
There are three parameters here, and the cookie is one of them, and there are two parameters, Config and http,config, which means that there is no authentication by the password in the configuration file (that is, the standard way); http: Use HTTP authentication; Cookies: Use cookies to log in to authentication. If you are using iis+php, HTTP authentication is not valid, and this feature can only be used in an Apache server environment. In general, it is the cookie method used.
http://www.bkjia.com/PHPjc/756841.html www.bkjia.com true http://www.bkjia.com/PHPjc/756841.html techarticle phpMyAdmin directly with MySQL, so the security is very critical, some friends for the sake of convenience, there is no phpMyAdmin set a login password, this is very dangerous, if this address ...