mysql启动以后无法看到监听端口号非常怪异
配置如下
[mysqld]
bind-address=0.0.0.0
port=3309
datadir=/usr/local/mysql8025/data
basedir=/usr/local/mysql8025
socket=/usr/local/mysql8025/data/mysql.sock
log-error=/tmp/mysqld.log
user=mysql
character-set-server=utf8
symbolic-links=0
#skip-grant-tables
[mysql_safe]
log-error=/tmp/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[client]
port=3306
socket=/usr/local/mysql8025/data/mysql.sock
问题出在:[mysql_safe]中,注释掉就好了,非常神奇。