phpmyadmin报错:mysqli_real_connect(): (HY000/2002): No such file or directory 错误解决

时间:2022-07-28 20:15:59

phpmyadmin切换远程数据库访问时需要更改

  1. phpmyadmin\libraries\config.default.php下$【cfg['Servers'][$i]['host']='远程库的连接地址';】
  2. phpmyadmin\config.inc.php下【$cfg['Servers'][$i]['host'] = '远程库的连接地址';】