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
Environment Preparation 1. Environment Constructi...
1. MacVlan There are many solutions to achieve cr...
vsftpd Overview vsftpd is the abbreviation of &qu...
Summary of common functions of PostgreSQL regular...
The installation process of MySQL 8.0 Windows zip...
Table of contents What is Docker Client-side Dock...
Therefore, we made a selection of 30 combinations ...
Large Text Data Types in Oracle Clob long text ty...
Macrotasks and Microtasks JavaScript is a single-...
Alphabetical DTD: Indicates in which XHTML 1.0 DT...
Preface In current JavaScript, there is no concep...
Table of contents Dynamically change themes The f...
Putting input and img on the same line, the img ta...
MySQL-Group-Replication is a new feature develope...
Table of contents Install Dependencies Configurat...