MySQL5.7数据库恢复root密码 数据库 | 2023-9-04 11:42 | 682 | 0 78 字 | 1 分钟内 修改my.cnf配置文件 在mysqld配置项中添加以下参数,然后重启MySQL数据库服务 skip-grant-tables 登录MySQL数据库 mysql -uroot -p --这里没有密码 修改密码 先刷新一下权限 flush privileges; 修改密码 set password for root@localhost=passwor… 关系型数据库
二进制方式安装MySQL5.7 数据库 | 2021-8-29 13:19 | 839 | 0 286 字 | 7 分钟 1 获取软件 软件url: MySQL :: Download MySQL Community Server (Archived Versions) 2 创建mysql系统账户 # useradd -r -s /sbin/nologin mysql -M 3 解压缩软件 # tar xf mysql-5.7.31-linux-glibc2.12-x… 关系型数据库