Ubuntu 18.04 安装mysql8.0

1:安装

  https://blog.csdn.net/qq_40871363/article/details/88822117

2:常用命令

  sudo mysql -u root -p  

   service mysql stop

   service mysql start

  service mysql restart
  service mysql status

3:远程连接

  3.1 修改服务器 入口权限

  3.2 修改mysql的账号的ip登录权限

            https://blog.csdn.net/lcf_lxf_ldy/article/details/87721073

      (host = '%'

  

猜你喜欢

转载自www.cnblogs.com/draymond/p/12370383.html