阿里雲主機CentOS7設置遠程連接MySQL數據庫

有一個困擾了我好久的問題,今天終於解決了。 看網上的答案只有一部分。今天把完整的發篇博客紀念一下下。 首先,連接阿里雲主機並登錄數據庫, 1、添加一個Host mysql>select User,Password,Host from mysql.user; insert into user (User,Password,Host)values(‘root’,password(‘root’),’%’
相關文章
相關標籤/搜索