As a super rookie, I just started learning MySQL and encountered many problems during the installation process. After two days of searching for information by myself and with the help of kind classmates, I finally succeeded in installing it. Now I write down my installation process for beginners to refer to. 1. Download the MySQL installation package, address After clicking Download, the following interface will pop up. Click No thanks, just start my download] 2. After downloading, unzip the zip package to the directory you want to install. My path is as follows: D:\mysql-8.0.15-winx64 3. Configure environment variables: Go to Computer - Properties - Advanced System Settings - Environment Variables and add the path where MySQL is unzipped. 4. Next, configure the MySQL configuration file Open the folder D:\mysql-8.0.15-winx64 that you just unzipped, create a configuration file called my.ini (create a new txt document, rename it, and change the suffix), edit my.ini and configure the following basic information: 5. Start the MySQL database: Open the cmd command line tool as an administrator and switch directories: Enter the initialization command: mysqld --initialize-insecure --user=mysql Generate the data directory in the D:\mysql-8.0.15-winx64\bin directory To start, enter the following command: net start mysql If the service name is invalid, execute the mysqld -install command in the bin folder D:\mysql-8.0.15-winx64\bin under the MySQL installation directory, and then you can net start mysql to start the MySQL service. The connection is successful! My own installation process and this article are based on MySQL software installation. Wonderful topic sharing: MySQL different versions installation tutorial MySQL 5.7 installation tutorials for various versions MySQL 5.6 installation tutorials for various versions mysql8.0 installation tutorials for various versions The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Ubuntu 18.04 disable/enable touchpad via command
>>: Node.js implements breakpoint resume
WeChat Mini Program - QR Code Generator Download:...
When using a docker container, sometimes vim is n...
This article example shares the specific code of ...
NC's full name is Netcat (Network Knife), and...
Table of contents 1. What is a trigger? 2. Create...
Table of contents 1. Overview 2. nginx.conf 1) Co...
The browser is probably the most familiar tool fo...
Table of contents 1. Original value and reference...
Preface Let me share with you how to make a searc...
Website compatibility debugging is really annoyin...
1. Background We do some internal training from t...
Three ways to use CSS in HTML: 1. Inline style: s...
When you first learn MySQL, you may not understan...
Table of contents Preface Asynchronous loading Pa...
Description of the situation: Today, I logged int...