The default MySQL version under the Alibaba Cloud yum command is 5.17****. Before installing MySQL 5.7, uninstall the previous version, including clearing the previous database - check /var/lib/mysql, and clear the historical files after backing them up. 1. Find the appropriate rpm download from https://dev.mysql.com/downloads/repo/yum/ 2. After the download is complete, execute the command " 3. After completion, execute the command " 4. Run the command " 5. After startup, the database will be initialized and a temporary root login password will be generated (the previous versions all had empty passwords). You can then use the temporary password to log in to the system 6. After logging in, the permissions are limited. You must change the password first, otherwise the following prompt will appear By default, MySQL 5.7 has requirements for password length and complexity. If it is only used for testing and development, it is completely unnecessary to set a password of '123456'. You can use the command " 7. Restart " The above is the tutorial on how to install and configure MySql5.7 under Alibaba Cloud ECS centos6.8. 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:
|
<<: How to build a React project with Vite
>>: Docker Detailed Illustrations
In Vue, we generally have front-end and back-end ...
This article shares the specific code for JavaScr...
1. Create a new UI project First of all, our UI i...
First of all, you need to understand why you use ...
1. Set up a shared folder on the virtual machine:...
1. Font properties color, specifies the color of ...
Formation of the grid system In 1692, the newly c...
Installation environment: CentOS7 64-bit, MySQL5....
Table of contents 1. Description of functions in ...
html, address,blockquote,body, dd, div,dl, dt, fie...
The hardware requirements for deploying Hyper-V a...
Responsive design is to perform corresponding ope...
Table of contents 1. Basic configuration of Nginx...
This article shares the installation steps and us...
1. Concept They are all attributes of Element, in...