摘要:
1,create user 'root'@'%' identified by 'passwd'; 2,flush privileges; 3,grant all privileges on *.* to 'root'@'%' ; 阅读全文
摘要:
MySQL 5.7 的版本,因为在user表中没有password字段,一直使用下边的方式来修改root密码 use mysql; update user set authentication_string=password('root') where user='root' 现在要用MySQL8. 阅读全文