1.找到 “phpMyAdmin/libraries”文件夹下的config.default.php 2.找到文件中的$cfg['Servers'][$i]['host'] = 'localhost' ,将其修改为$cfg['Servers'][$i]['host'] = '127.0.0.1'。