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
Table of contents Preface Reference Comparison Ma...
Table of contents 1. Database constraints 1.1 Int...
Table of contents jQuery's $.ajax The beginni...
<br />According to foreign media reports, in...
Table of contents Uninstall and install samba Cre...
We often see a cool effect where the mouse hovers...
Preface: Based on a recent medical mobile project...
In the previous sections, we discussed aspects of ...
So we introduce an embedding framework to solve th...
When we make a form, we often set a submit button ...
Docker officially recommends that we use port map...
This article example shares the specific code of ...
All content in this blog is licensed under Creati...
This article example shares the specific code of ...
1. Set the parent container to a table and the ch...