- คือตอนนี้เมื่อผมได้ลอง เปิดการใช้งาน xampp โดยใช้คำสั่ง
โค้ด: เลือกทั้งหมด
sudo /etc/init.d/apache2 stop
- แล้วจากนั้นก็ใช้คำสั่ง
โค้ด: เลือกทั้งหมด
sudo /opt/lampp/lampp start
โค้ด: เลือกทั้งหมด
Starting XAMPP for Linux 7.4.1-0...
XAMPP: Starting Apache...already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...already running.
com002@com002-K43SD:~$ /opt/lampp/bin/mysql.server: 264: kill: No such process
โค้ด: เลือกทั้งหมด
Cannot connect: invalid settings.
mysqli_real_connect(): (HY000/2002): No such file or directory
Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/2002): No such file or directory
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.