-2
我可以使用MySQL通過sudo的安裝XAMPP易於得到的ubuntu命令了開始XAMPP的MySQL服務器..如何使用Ubuntu的本地MySQL服務器在XAMPP
我可以使用MySQL通過sudo的安裝XAMPP易於得到的ubuntu命令了開始XAMPP的MySQL服務器..如何使用Ubuntu的本地MySQL服務器在XAMPP
最後我找到我的問題的答案。通過在/ opt/lampp/phpmyadmin/config.inc.php中進行以下更改,我們可以在phpmyadmin中使用ubuntu的本地mysql服務器。
變化
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'Local mysql's username';
$cfg['Servers'][$i]['password'] = 'Local mysql's password';
/* Server parameters */
從本地主機更改爲127.0.0.1
$cfg['Servers'][$i]['host'] = '127.0.0.1';
//$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
通過使上述更改我訪問XAMPP的Apache2我loacl MySQL服務器,而無需啓動XAMPP的MySQL服務器
謝謝並問候
蘇利亞
使用ubuntu的指示燈。 –
是的,當然可以。 –
我該如何使用lampp? –