远程连接树莓派上的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

参考自: https://www.cnblogs.com/GeGeBoom/p/8625601.html

posted @ 2021-02-26 14:42  GoXXIV  阅读(147)  评论(0编辑  收藏  举报