
远程连接阿里云的mysql数据库
第一步由于mysql版本问题先尝试打开sudovim/etc/mysql/my.cnf如空,再尝试打开sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf#号注释该行bind-address = 127.0.0.1第二步进入mysqlmysql -uroot -p授权grant all privileges on *.* to root@% identified by roo
第一步由于mysql版本问题先尝试打开sudovim/etc/mysql/my.cnf如空,再尝试打开sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf#号注释该行bind-address = 127.0.0.1第二步进入mysqlmysql -uroot -p授权grant all privileges on *.* to root@% identified by roo