yum quick install mysql Add yum repository rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm View available MySQL versions (skip directly) yum repolist enabled | grep "mysql.*-community.*" Import yum -y install mysql-community-server Add to startup systemctl enable mysqld Start mysql systemctl start mysqld Configure initial information mysql_secure_installation You may encounter a startup failure with err log location /var/lib/mysql/izwz97b179ej8k0x150aapz.err No permission, modify permission information directly cd /var/lib/mysql/performance_schema chown mysql * chgrp mysql * The above is the correct way to install MySQL using yum on Alibaba Cloud CentOS7. 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. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Summary of some of my frequently used Linux commands
>>: Summary of Linux nc command
Table of contents 1. Install html2Canvas 2. Intro...
Table of contents Features Preservation strategy ...
Preface Recently, due to work needs, I need to in...
[LeetCode] 176. Second Highest Salary Write a SQL...
1. [admin@JD ~]$ cd opt #Enter opt in the root di...
System environment: Redis version: 6.0.8 Docker v...
Rem layout adaptation The styles in Vant use px a...
Table of contents 1. Install Node Exporter 2. Ins...
This is not actually an official document of IE. I...
The specific code is as follows: <a href="...
1. Mathematical Functions ABS(x) returns the abso...
The following attributes are not very compatible w...
Analyze the production steps: 1. Prepare resource...
First download the compressed package of nacos fr...
Table of contents Short Introduction 1. Check the...