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
相关文章
相关标签/搜索