Home > Article > Backend Development > Quickly configure PHPMyAdmin method_PHP tutorial
Then we start the installation and configuration now:
1. Generally, the PHPMyAdmin downloaded from the Internet is a compressed package, and we release it into the htdocs directory, such as htdocsphpmyadmin.
2. Open the phpmyadmin directory and see if there is a config.sample.inc.php file in this directory. If it exists, rename it to config.inc.php. (Depending on the version, there may be a config.inc.php file directly, so there is no need to change the name. It is also possible that there is no config.sample.inc.php or config.inc.php at all. Then we will go to the phpmyadminlibraries directory and change the config. .default.php is copied to the phpmyadmin directory and renamed config.inc.php).
3. Open the config.inc.php file (you can use WordPad) and find $cfg['blowfish_secret'] = ''; and $cfg['Servers'][$i]['auth_type' ] = 'cookie';, if the value of $cfg['Servers'][$i]['auth_type'] is cookie as seen before, then we must set it in $cfg['blowfish_secret'] = ' ' Write a string of characters arbitrarily in the quotation marks, and you can understand it as an identity verification code. For example $cfg['blowfish_secret'] = 'sunec'. Save and exit.
At this point, the installation and configuration of phpmyadmin is over. Enter the browser and enter http://localhost/phpmyadmin/main.php in the address bar. (The path here is based on the previously unzipped phpmyadmin in htdocs Determined by the directory name), if everything goes well, a screen for you to enter your username and password should appear on the page. Enter your username and password (Mysql username and password), and then enter the main interface of phpmyadmin. As for how to use it, I won’t go into it here for the time being. You can explore it yourself first~