Installation introduction under Windows: Check out –》Installation introduction of MySQL 8.018 under Windows Linux Platform : The following operations take MySQL 8.0.18 and the system is Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-142-generic x86_64) as an example: A. Automatic installation sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install libmysqlclient-dev B. Download the installation package yourself and install it using the deb file 1. Download
Enter the download interface. If you need a historical version of MySQL, click Looking for previous GA versions on the right and select the desired MySQL version; No Select the operating system and operating system version on the current page, and then click Download. This article takes the 64-bit system under Ubuntu 16.04 as an example. No need to register or log in, just skip it.
2. Installation After the server is ready to install the files, first install several dependency packages required for MySQL installation. sudo apt-get install libaio1 sudo apt-get install libmecab2 sudo apt-get install libjson-perl sudo apt-get install libnuma1 Create a temporary directory, copy the downloaded tar file to the installation path, and unzip it to the path Start the installation (follow the order below, some debs have dependencies), and the remaining debs not listed can be ignored if not needed. sudo dpkg -i mysql-common_8.0.18-1ubuntu16.04_amd64.deb sudo dpkg -i libmysqlclient21_8.0.18-1ubuntu16.04_amd64.deb sudo dpkg -i libmysqlclient-dev_8.0.18-1ubuntu16.04_amd64.deb sudo dpkg -i mysql-community-client-core_8.0.18-1ubuntu16.04_amd64.deb sudo dpkg -i mysql-community-client_8.0.18-1ubuntu16.04_amd64.deb sudo dpkg -i mysql-client_8.0.18-1ubuntu16.04_amd64.deb sudo dpkg -i mysql-community-server-core_8.0.18-1ubuntu16.04_amd64.deb sudo dpkg -i mysql-community-server_8.0.18-1ubuntu16.04_amd64.deb sudo dpkg -i mysql-server_8.0.18-1ubuntu16.04_amd64.deb Note: When installing mysql-community-server_8.0.18-1ubuntu16.04_amd64.deb, the following input box will pop up, prompting you to enter the root account password. After entering the password, the current version of MySQL will prompt you to select the encryption method related to MySQL authorization. It is recommended to select Use Strong Password Encryption for Authentication. Using enhanced SHA256-based authorization encryption can better protect account security.
Install Login verification. Enter the command 4. Common instructions and parameters
The following is the default configuration file Summarize The above is a detailed explanation of the installation and configuration process of MySQL 8.018 on Linux. I hope it will be helpful to everyone. 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 use nginx to block a specified interface (URL)
>>: Ajax responseText parses json data case study
nginx Overview nginx is a free, open source, high...
npm installation tutorial: 1. Download the Node.j...
1. Linux network configuration Before configuring...
This article uses examples to illustrate the prin...
Vue recommends using templates to create your HTM...
Purpose Understand the role of nextTick and sever...
Table of contents Preface: What is waterfall layo...
Table of contents Preface 👀 Start researching 🐱🏍...
This article mainly introduces the detailed proce...
Method 1: Please add the following code after <...
The progress bar is not smooth I believe that mos...
Table of contents definition structure Examples C...
Table of contents Arithmetic operators Abnormal s...
React is a JavaScript library for building user i...
1. MySql Architecture Before introducing the stor...