Installation of Linux MySQL under Alibaba Cloud

  1. MySQL installation and configuration
  • install rpm package

rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm

  • install mysql

yum -y install mysql-community-server

  • join boot

systemctl enable mysqld

  • Start the MySQL service process

systemctl start mysqld

  • Configure the root user password

mysql_secure_installation

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324968501&siteId=291194637
Recommended