Phpmyadmin configuration fails for an hour, whether in 127.0.0.1 or localhost. and then it is sent to the wmap environment to configure phpmyadmin to modify the config under libraries. default. the correct steps for php are as follows: 1. Configure the config. default. php $ cfg [PmaAbso
Phpmyadmin configuration fails for an hour, whether in 127.0.0.1 or localhost. and then it is sent to the wmap environment to configure phpmyadmin to modify the config under libraries. default. the correct steps for php are as follows: 1. Configure the config. default. php $ cfg ['pmaabso
Phpmyadmin configuration fails for an hour, whether in 127.0.0.1 or localhost.
Later, it is found that in the wmap environment, it is impossible to configure phpmyadmin to modify the config. default. php under libraries.
The correct steps should be:
1. Configure config. default. php under libraries
$ Cfg ['pmaabsoluteuri '] = 'localhost/phpmyadmin'; // "Enter the phpmyadmin access URL in the middle.
$ Cfg ['servers'] [$ I] ['user'] = 'root'; // MySQL user used by phpmyadmin to access the mysql user name
Fg ['servers'] [$ I] ['Password'] = ''; // MySQL password (only needed corresponds to the password of the above mysql user name
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
2. Configure the apps \ phpmyadim \ config. inc. php file
$ Cfg ['servers'] [$ I] ['Password'] = 'hooray'; // hooray is the password of your database.
Phpmyadmin can be opened in 127.0.0.1, but it cannot be opened in localhost.
3. Configure phpmyadmin. conf in alias
Deny from all
Allow from 127.0.0.1
Change
Allow from all
At this point, the phpmyadmin configuration in the wmap environment is complete.