ผมติดตั้ง XAMPP บน ubuntiu 12.04 มาบทความนี้
วิธีติดตั้ง XAMPP บน Ubuntu 12.04 Desktop Install WebServer
ก็ไม่เจอปัญหาอะไร แต่หลังจจาก SET security
ด้วยคำสั่ง
sudo /opt/lampp/lampp security
ทำให้ user ที่สร้างขึ้นมาไม่สามารถใช้ Mysql ได้
วิธีแก้คือเข้าไปเปลี่ยน config ในไฟล์
/opt/lampp/phpmyadmin/config.inc.php
เป็นด้านล่างนี้
/* Authentication type and info */
# commented out by lampp security
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'pda';
$cfg['Servers'][$i]['password'] = '****';
$cfg['Servers'][$i]['extension'] = 'mysql';
# $cfg['Servers'][$i]['AllowNoPassword'] = true;
/* User for advanced features */
# commented out by lampp security
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '*****';