MySQL远程访问 1.编辑mysql配置文件,把其中bind-address = 127.0.0.1注释了 vi /etc/mysql/mysql.conf.d/mysqld.cnf 2.使用root进入mysql命令行,执行如下2个命令,示例中mysql的root账号密码:root grant all on *.* to root@'%' identified by 'root' with grant option; flush privileges; 3.重启mysql /etc/init…
前提:使用系统的环境 3.13.0-24-generic mysql的版本:5.6.33 错误描述: 首先用mysqld_safe启动报错如下: root@zabbix-forFunction:~# mysqld_safe 170425 01:56:52 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog…