1.安装
https://www.cnblogs.com/opsprobe/p/9126864.html
2.mysql 开启远程连接权限
https://blog.csdn.net/hl449006540/article/details/79722060
3.添加新用户
https://www.linuxidc.com/Linux/2018-09/154250.htm
4.Ubuntu Server下启动/停止/重启MySQL数据库的三种方式
启动mysql:
方式一:sudo /etc/init.d/mysql start
方式二:sudo service mysql start 停止mysql:
方式一:sudo /etc/init.d/mysql stop
方式二:sudo service mysql stop 重启mysql:
方式一:sudo/etc/init.d/mysql restart
方式二:sudo service mysql restart