Centos7 下MySQL主從配置指定端口

1.停止mysql服務    systemctl stop mysql  2.在etc/my.cnf 文件下[mysqld]下加上 port=3506 3. SELinux問題     方法一: 不需要重啓Linux:     [[email protected] ~]# setenforce 0     方法二:需要重啓Linux:     vi /etc/selinux/config    
相關文章
相關標籤/搜索