centos6.5, install xampp5.6.30, start MySQL error, can not produce. err file
[Email protected]_server ~]#/opt/lampp/lampp startmysql
Xampp:starting Mysql...ok.
[[Email protected]_server ~]#/opt/lampp/bin/mysqld_safe_helper:can ' t create/write to file '/opt/lampp/var/mysql/ Zabbix_server.err ' (errcode:13 "Permission denied")
Check directory Permissions
[Email protected]_server ~]# ll/opt/lampp/var/mysql/
Total 86056
-RW-RW----1 MySQL mysql 16384 June 18:53 aria_log.00000001
-RW-RW----1 MySQL mysql 18:53 aria_log_control
-RW-RW----1 MySQL mysql 77594624 June 18:53 ibdata1
-RW-RW----1 MySQL mysql 5242880 June 18:53 Ib_logfile0
-RW-RW----1 mysql mysql 5242880 Nov ib_logfile1
-RW-RW----1 mysql mysql 0 Nov multi-master.info
drwx------2 MySQL mysql 4096 June 18:35 MySQL
drwx------2 MySQL mysql 4096 June 18:35 Performance_schema
drwx------2 MySQL mysql 4096 June 18:35 phpMyAdmin
drwx------2 MySQL mysql 4096 June 18:35 test
Modified to Root:root and chmod 777 are not effective
After repeated testing, you need to modify the permissions of the/OPT/LAMPP directory to
[Email protected]_server ~]# chmod 755/opt/lampp/
It's normal to start xampp again.
[Email protected]_server ~]#/opt/lampp/lampp startmysql
Xampp:starting Mysql...ok.
[[Email Protected]_server ~]#
The err file cannot be generated when MySQL is started in xampp