1. Open the xampp directory (the default installation directory, if you modify it, please find the xampp installation directory), open the phpmyadmin directory, and find the configuration file config.inc in the directory. php, my default configuration (part) is as shown in the picture:
2. Then add the following code after $cfg['Lang'] = "":
$cfg['Servers'][$i]['port'] = '3307'
3. Save, restart apache, enter localhost/phpmyadmin in the address bar, you can directly enter the management interface of phpmyadmin,
As shown in the picture:
Recommended related articles and tutorials: phpmyadmin tutorial
The above is the detailed content of xampp cannot access phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!