广西贵港市文旅产业发展大会暨创建广西全域 http://www.guigangshizx.com/ggsjt/6609.html一.安装mysql
1.1Yum安装mysql
#安装
[root
master~]#yuminstall–ymariadbmariadb-develmariadb-server
#安装完成之后可以查询一下软件是否安装成功
[root
master~]#rpm-qa
grepmariadb
mariadb-libs-5.5.65-1.el7.x86_64
mariadb-server-5.5.65-1.el7.x86_64
mariadb-5.5.65-1.el7.x86_64
mariadb-devel-5.5.65-1.el7.x86_64
#启动mariadb
[root
master~]#systemctlstartmariadb
#查看进程
[root
master~]#ps-ef
grepmysql
1.2源码安装mysql
#安装编译依赖软件
[root
node2~]#yuminstallgccncurses-devellibaiobisongcc-c++gitcmakencurses-developensslopenssl-devel-y
#下载安装包
[root
node2opt]#wget