2018-07-12 14:50:33 1591瀏覽
由于phpMyAdmin是php編寫的,因此CentOs安裝配置phpMyAdmin其實是非常簡單,下載安裝包之后然后解壓,簡單配置下就可以使用了,下面扣丁學堂在線學習小組帶領(lǐng)大家進行一次完整的安裝phpMyAdmin教程,感興趣的小伙伴趕緊來跟著學起吧~
wgethttps://files.phpmyadmin.net/phpMyAdmin/4.6.0/phpMyAdmin-4.6.0-all-languages.tar.gz
tarzxvfphpMyAdmin-4.6.0-all-languages.tar.gz
mvphpMyAdmin-4.6.0-all-languages/usr/local/nginx/html
5、重新命名
mvphpMyAdmin-4.6.0-all-languagesphpMyAdmin
cd/usr/local/nginx/html/phpMyAdmin/libraries vimconfig.default.php
1、修改以下3處地方
$cfg['Servers'][$i]['host']='127.0.0.1'; $cfg['Servers'][$i]['user']='root'; $cfg['Servers'][$i]['password']='123456';
mysqli_real_connect():(HY000/2002):Nosuchfileordirectorymysqli_real_connect():(HY000/2002):Nosuchfileordirectory
$cfg['Servers'][$i]['host']='localhost';
$cfg['Servers'][$i]['host']='127.0.0.1';
【關(guān)注微信公眾號獲取更多的學習資料】
查看更多關(guān)于“Linux培訓資訊”的相關(guān)文章>>