转自:https://blog.csdn.net/weixin_42001930/article/details/80274615
1、使用mysql -u root -p (这里最好使用root的密码)
2、use mysql;
3、grant all privileges on *.* to 你的数据库账号@'%' identified by '你对应账号的密码';
转自:https://blog.csdn.net/weixin_42001930/article/details/80274615
1、使用mysql -u root -p (这里最好使用root的密码)
2、use mysql;
3、grant all privileges on *.* to 你的数据库账号@'%' identified by '你对应账号的密码';