phpmyadmin error:#2002 - 服務器沒有響應

phpmyadmin error:#2002 - 服務器沒有響應 (或者本地 MySQL 服務器的套接字沒有正確配置)

編譯配置文件:
vim config.inc.php

$i++;
/ Authentication type /
$cfg['Servers'][$i]['verbose'] = 'localhost'; ;服務器內網地址IP
$cfg['Servers'][$i]['host'] = 'localhost'; ;服務器內網地址IP
$cfg['Servers'][$i]['port'] = 'port'; ;數據庫端口
$cfg['Servers'][$i]['socket'] = ''; ;數據庫socket
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = 'root'; ;登錄帳號
$cfg['Servers'][$i]['password'] = ''; ;登錄密碼
$cfg['Servers'][$i]['AllowNoPassword'] = true;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章