摘要: 1,create user 'root'@'%' identified by 'passwd'; 2,flush privileges; 3,grant all privileges on *.* to 'root'@'%' ; 阅读全文
posted @ 2023-04-11 23:45 ryan刘玮 阅读(335) 评论(0) 推荐(0)
摘要: MySQL 5.7 的版本,因为在user表中没有password字段,一直使用下边的方式来修改root密码 use mysql; update user set authentication_string=password('root') where user='root' 现在要用MySQL8. 阅读全文
posted @ 2023-04-11 09:49 ryan刘玮 阅读(314) 评论(0) 推荐(0)