Alibaba Cloud Centos7 use yum to install the correct posture of MySQL (recommended)
Yum quick installationmysql
New yum source
rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
Check the available mysql version (skip directly)
yum repolist enabled | grep "mysql.*-community.*"
yum -y install mysql-community-server
Add to boot up
Configure initial information
May encounter no permission to start, err log location/var/lib/mysql/izwz97b179ej8k0x150aapz.err
No permission, modify permission information directly
chown mysql *
chgrp mysql *
The above is the correct posture of Alibaba Cloud centos7 to install mysql using yum, which I have introduced to you.I hope it will be helpful to you.If you have any questions, please leave me a message, and I will reply to you in time.Thank you very much for your support to the website!