Today I would like to mention how to configure PHPMyAdmin, because it is widely used by developers. Phpmyadmin
Although it may not be used in the development and debugging of the system on the local machine, Mysql GUI tools such as phpmyadmin will be used for storing Mysql databases in remote virtual hosts in the future, it is also necessary to familiarize yourself with how to use it locally.
Now we start to install and configure:
1. The PHPMyAdmin package downloaded from the internet is usually released to the htdocs Directory, for example, htdocs \ phpmyadmin.
2. open The phpmyadmin DirectoryWhether the config. sample. inc. php file exists in this directory. If yes, rename it config. inc. php. (Depending on the version, config may be directly available. inc. php file, you do not need to change the name, or there may be no config. sample. inc. php or config. inc. php, go to the phpmyadmin \ libraries Directory and set config. default. copy php to The phpmyadmin directory and rename it config. inc. php ).
3. open the config. inc. php file.(You can use a WordPad), find $ cfg ['blowfish _ secret'] = ''; and $ cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';, if the value of $ cfg ['servers'] [$ I] ['auth _ type'] is as cookie as we saw earlier, therefore, we must write a string of characters in the quotation marks of $ cfg ['blowfish _ secret'] = ''. you can regard it as an identity verification code. For example, $ cfg ['blowfish _ secret'] = 'sunec '. Save the disk and exit.
So far, the installation and configuration of phpmyadmin is over. enter the browser and enter http: // localhost/phpmyadmin/main in the address bar. php, (the path here is determined based on the name of the directory where you previously decompressed phpmyadmin to htdocs). If it succeeds, the page displays a picture asking you to enter your username and password, enter the username and password (Mysql username and password) and enter the main interface of phpmyadmin. As for usage ~ We will not start it here for the time being. you can explore it first ~