1 | sudo apt install mysql-server |
添加用户1
grant all on *.* to admin@"%" identified by "123";
用户名 admin 密码 123
远程链接1
sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf #注释 127.0.0.1
读书 学习 生活
1 | sudo apt install mysql-server |
添加用户1
grant all on *.* to admin@"%" identified by "123";
用户名 admin 密码 123
远程链接1
sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf #注释 127.0.0.1