mysql
2021/10/31 19:12:21
本文主要是介绍mysql,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
开启不验证登录
mysql配置文件[mysqld]下输入
skip-grant-tables
重启服务
修改密码
use mysql;
update mysql.user set authentication_string=password('root_password') where user='root';
开启远程登录
先修改密码策略
set global validate_password_policy=0;
set global validate_password_length=1;
修改更新密码
alter user 'root'@'localhost' identified by 'root';
开启远程登录用户root密码为root登录网络为*.*任意网段
grant all privileges on *.* to 'root'@'%' identified by 'root';
这篇关于mysql的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-09-21MySQL集群部署资料:新手入门教程
- 2024-09-21MySQL集群资料:初学者入门指南
- 2024-09-21部署MySQL集群资料:新手入门教程
- 2024-09-20MySQL集群部署教程:新手入门指南
- 2024-09-20MySQL集群教程:初学者必备指南
- 2024-09-20部署MySQL集群项目实战:新手入门教程
- 2024-09-20如何部署MySQL集群:简单教程
- 2024-09-20MySQL集群部署:新手入门指南
- 2024-09-20部署MySQL集群学习:入门指南
- 2024-09-20部署MySQL集群入门教程