1. First open the browser, search on Baidu to download phpMyAdmin, and extract it to a directory accessible by the web:
2 , then open the home directory of phpmyadmin, open the config.default.php file in the libraries directory, double-click to open the editing configuration:
3. After opening, configure the access URL first, and then Fill in the access URL of phpMyAdmin in the variable "$cfg['PmaAbsoluteUri']", which is the address of the current host:
4. When configuring the MySQL host information, modify the variable " For the URL after $cfg['Servers'][$i]['host']", fill in localhost. The MySQL port defaults to 3306. Just leave it empty:
5. Then set the MySQL username and password to "$cfg['Servers'][$i]['user']" and "fg['Servers'][$i]['password']" respectively. Fill in a variable, which needs to be consistent with your mysql username and password to access:
6. Then fill in the authentication method. The variable set is "$cfg['Servers' ][$i]['auth_type'] ", considering security factors, just fill in the cookie directly here:
#7. Finally, set the phrase password and set the variables. The value of "$cfg['blowfish_secret']", because the authentication method is set to cookie, you need to set a phrase password. Once this is filled in, the configuration is complete:
8, After everything is set up, enter the host name and Phpmyadmin's file directory in the browser to access:
Recommended learning: phpmyadmin tutorial
The above is the detailed content of How to unzip and install PhpMyAdmin. For more information, please follow other related articles on the PHP Chinese website!