远程连接树莓派上的mysql
错误信息: [错误2002]Can't connect to MySQL server on '某个ip'(10061)
step 1
将 /etc/mysql/mariadb.conf.d/50-server.cnf 的
bind-address = 127.0.0.1 修改为 0.0.0.0
step 2
重启sqld -- service mysqld restart
错误信息: [错误2002]Can't connect to MySQL server on '某个ip'(10061)
将 /etc/mysql/mariadb.conf.d/50-server.cnf 的
bind-address = 127.0.0.1 修改为 0.0.0.0
重启sqld -- service mysqld restart