1. 安裝:
這裏我就不造重複輪子了,直接給大家一個可靠的安裝博客地址,這裏面說的比較全面:Linux下安裝mysql
2. 常用命令:
# 啓動
systemctl start mysqld
# 重啓
service mysqld restart
# 停止
service mysqld stop
# 驗證
systemctl status mysqld
# 查看版本
mysqladmin --version
這裏我就不造重複輪子了,直接給大家一個可靠的安裝博客地址,這裏面說的比較全面:Linux下安裝mysql
# 啓動
systemctl start mysqld
# 重啓
service mysqld restart
# 停止
service mysqld stop
# 驗證
systemctl status mysqld
# 查看版本
mysqladmin --version