摘要: 进入到mysql安装包bin目录下执行此命令 mysqldump -u root -p double_prevention > /home/double_prevention.sql 阅读全文
posted @ 2022-07-22 15:03 _Lawrence 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 登录mysql mysql -u root -p 输入登录密码 使用mysql数据库 USE mysql 修改密码 ALTER USER ‘test’@‘localhost’ IDENTIFIED WITH MYSQL_NATIVE_PASSWORD BY ‘新密码’; 验证是否修改成功 mysql 阅读全文
posted @ 2022-07-22 13:17 _Lawrence 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 执行: select * from mysql.user | Host | User | Select_priv | Insert_priv | Update_priv | Delete_priv | Create_priv | Drop_priv | Reload_priv | Shutdown_ 阅读全文
posted @ 2022-07-22 13:12 _Lawrence 阅读(553) 评论(0) 推荐(0) 编辑