树莓派自带的数据库为MariaDB
修改配置文件路径为:
/etc/mysql/mariadb.conf.d
下的50-server.cnf
把 bind-address
改成0.0.0.0
之后重启服务即可
“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill
标 题:树莓派上的MariaDB设置远程访问