mysql5.7.22容許全部外部ip訪問數據庫。

轉自:http://www.javashuo.com/article/p-mnbazblj-gr.htmlmysql 一、使用mysql -u root -p (這裏最好使用root的密碼)sql 二、use mysql;數據庫 三、grant all privileges on *.* to 你的數據庫帳號@'%'  identified by '你對應帳號的密碼';ide
相關文章
相關標籤/搜索