如何用navicat连接linux服务器上的mysql以及重启服务


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  查询服务列表,然后根据名字重启相应服务就好


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM