差異處
這裏顯示兩個版本的差異處。
下次修改 | 前次修改 | ||
tech:centos7_mariadb10 [2021/06/13 17:41] – 建立 jonathan | tech:centos7_mariadb10 [2021/06/13 17:48] (目前版本) – [安裝程序] jonathan | ||
---|---|---|---|
行 3: | 行 3: | ||
===== 安裝程序 ===== | ===== 安裝程序 ===== | ||
- | * 建立 | + | * 建立 |
# MariaDB 10.5 CentOS repository list - created 2021-06-13 09:08 UTC | # MariaDB 10.5 CentOS repository list - created 2021-06-13 09:08 UTC | ||
# http:// | # http:// | ||
行 18: | 行 18: | ||
systemctl start mariadb | systemctl start mariadb | ||
systemctl enable mariadb | systemctl enable mariadb | ||
+ | mysql_upgrade | ||
mysql_secure_installation | mysql_secure_installation | ||
mysql -u root -p | mysql -u root -p | ||
行 26: | 行 27: | ||
ERROR 1146 (42S02) at line 1: Table ' | ERROR 1146 (42S02) at line 1: Table ' | ||
</ | </ | ||
- | * 解決方式: | + | * 解決方式: |
sudo systemctl stop mariadb | sudo systemctl stop mariadb | ||
sudo yum remove mariadb | sudo yum remove mariadb |