如何用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