解決 phpmyadmin #2002 沒法登陸 MySQL 服務器

解決 .#2002 沒法登陸 MySQL 服務器php

將config.sample.inc.php複製成config.inc.php數據庫

出現這個錯誤,表示沒有鏈接到數據庫。修改config.inc.php文件,
 
將$cfg['Servers'][$i]['host'] = 'localhost'; 
改成$cfg['Servers'][$i]['host'] = '127.0.0.1';
相關文章
相關標籤/搜索