更新 数据库基础.md
This commit is contained in:
parent
808c553ac3
commit
d756f889c1
4
数据库基础.md
4
数据库基础.md
@ -100,7 +100,7 @@ mysql> alter user 'root'@'localhost' identified by 'Wjifja@7412347289';
|
||||
卸载安装的mariadb
|
||||
|
||||
```bash
|
||||
[root@mysql ~]# rpm -e --nodeps mariadb
|
||||
[root@mysql ~]# rpm -e --nodeps mariadb-libs
|
||||
```
|
||||
|
||||
下载rpm包
|
||||
@ -112,6 +112,7 @@ mysql> alter user 'root'@'localhost' identified by 'Wjifja@7412347289';
|
||||
解压tar文件
|
||||
|
||||
```bash
|
||||
[root@mysql ~]# mkdir mysql
|
||||
[root@mysql ~]# tar xvf mysql-5.7.30-1.el7.x86_64.rpm-bundle.tar -C mysql && cd mysql
|
||||
```
|
||||
|
||||
@ -122,6 +123,7 @@ mysql> alter user 'root'@'localhost' identified by 'Wjifja@7412347289';
|
||||
[root@mysql mysql]# rpm -i mysql-community-libs-5.7.30-1.el7.x86_64.rpm
|
||||
[root@mysql mysql]# rpm -i mysql-community-client-5.7.30-1.el7.x86_64.rpm
|
||||
[root@mysql mysql]# rpm -i mysql-community-server-5.7.30-1.el7.x86_64.rpm
|
||||
[root@mysql mysql]# rpm -ivh mysql-community-libs-compat-5.7.30-1.el7.x86_64.rpm
|
||||
```
|
||||
|
||||
启动服务
|
||||
|
Loading…
x
Reference in New Issue
Block a user