安装mysql5.6,5.7

2019-06-14 16:55:57       xhs

rpm -ivh http://repo.mysql.com/yum/mysql-5.5-community/el/6/x86_64/mysql-community-release-el6-5.noarch.rpm

yum install mysql-community-client mysql-community-devel mysql-community-server php-mysql

systemctl start mysqld

/usr/bin/mysqladmin -u root password 'admin'

发表评论