@Yano
2016-11-15T09:32:02.000000Z
字数 521
阅读 2358
Mysql
MySQL官方文档 - 2.5.1 Installing MySQL on Linux Using the MySQL Yum Repository
RHEL / CentOS 7 用 Yum 安裝 MySQL 5.6
systemctl 命令完全指南
rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
yum install mysql-community-server
shell> sudo service mysqld start
Starting mysqld:[ OK ]
查看 MySQL server 的运行状态:
shell> sudo service mysqld status
mysqld (pid 3066) is running.
ps -ef | grep mysql
/usr/bin/systemctl enable mysqld
/usr/bin/mysql_secure_installation
mysql -uroot -p