今天突然发现云数据库登不进去了,平常都好好的
登录进服务器,查看,只能本机登录了。
update user set host = '%' where user = 'root';
flush privileges;
然后就可以远程连接了。
进去之后就发现数据库的数据都被删了,让我给他转钱:
设置一个复杂点的密码吧
update user set authentication_string=password('xxxxxxxx') where user='root';
今天突然发现云数据库登不进去了,平常都好好的
登录进服务器,查看,只能本机登录了。
update user set host = '%' where user = 'root';
flush privileges;
然后就可以远程连接了。
进去之后就发现数据库的数据都被删了,让我给他转钱:
设置一个复杂点的密码吧
update user set authentication_string=password('xxxxxxxx') where user='root';