1,开启mysql权限:https://www.cnblogs.com/NaughtyCat/p/how-to-connect-to-mysql-on-linux-by-navicat.html

  • mysql开启root权限(mysql命令下执行)

赋予权限:   grant all privileges on *.* to 'root'@'% 'identified by 'your password' with  grant option

刷新权限列表:   flush privileges

2,重启mysql服务 :https://blog.csdn.net/qq_31083947/article/details/90248565

  使用 chkconfig --list  查询服务列表,然后根据名字重启相应服务就好

相关文章:

  • 2021-09-14
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-17
  • 2021-10-02
  • 2021-07-08
猜你喜欢
  • 2021-12-27
  • 2021-12-05
  • 2022-01-08
  • 2021-04-26
  • 2021-09-30
相关资源
相似解决方案