CentOS 修改 Mysql 端口

#vi /etc/my.cnf

在[mysqld]下添加port=3506

#/etc/init.d/mysqld restart

你可能感兴趣的:(CentOS 修改 Mysql 端口)