centos7 xampp数据库主从设置 xampp数据库配置文件位置:/opt/lampp/mysql/my.cnf datadir路径:innodb_data_home_dir = /opt/lampp/var/mysql/