1. Download the mysql tar file: https://dev.mysql.com/downloads/mysql/5.6.html#downloads 2. Enter the directory where the installation package is located Execute the command: 3. Copy the unzipped mysql directory to the system's local software directory: Execute the command: 4. Add the system mysql group and mysql user: Execute the command: 5. Install the database: Enter the directory where the MySQL software is installed: execute the command Change the owner of the current directory to the mysql user: execute the command Install the database: execute the command Change the owner of the current directory to the root user: execute the command Change the owner of the current data directory to the mysql user: execute the command 6. Start the mysql service and add the mysql service to start at boot: Add startup script: execute the command Start the MySQL service: execute the command Execute the command: 7. Change the root user password of mysql. The initial root password is empty: Execute command: 8. Put the mysql client in the default path: Note: It is recommended to use a soft link instead of directly copying the package file to facilitate the installation of multiple versions of MySQL on the system Summarize The above is the installation steps of MySQL under Linux introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor 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 gitlab on centos6
Without further ado, I will post the code for you...
When the created tab label exceeds the visible ar...
Table of contents 1minio is simple 2 Docker build...
Table of contents Math Objects Common properties ...
How to display text overflow? What are your needs...
This article shares with you a practical web navi...
MySQL error: Error code: 1293 Incorrect table def...
Today we will talk about how to use Jenkins+power...
We all know that data is priceless. If we don’t b...
If people have been idle for too long, they will ...
Docker is equivalent to a container, which can bu...
When installing nginx, mysql, tomcat and other se...
Shtml and asp are similar. In files named shtml, s...
1. Download 4 rpm packages mysql-community-client...
1. Use the mysql/mysql-server:latest image to qui...