时间:2021-07-01 10:21:17 帮助过:5人阅读
先执行:vim /etc/my.cnf
[mysqld] port = 3306 bind-address = 0.0.0.0 # 这一行改成0.0.0.0 或者直接注释掉 socket = /tmp/mysql.sock datadir = /usr/local/mysql/var skip-external-locking
Linux环境下Mysql开启远程访问权限
标签:add mys 进入 mysqld port sele dir roo select