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
Table of contents Written in front Precautions De...
Due to work reasons, it is often not possible to ...
1. Install MySQL # Download mysql in docker docke...
1- Styling dropdown select boxes - Modify the dro...
<a href="http://" style="cursor...
Table of contents 1. What is Promise 2. Basic usa...
1. Enter the host machine of the docker container...
<br />Scientifically Design Your Website: 23...
Table of contents Introduction Install 1. Create ...
This article analyzes the consistency processing ...
To get straight to the point, there is a very com...
SELECT * FROM table name limit m,n; SELECT * FROM...
Table of contents 1. Install html2Canvas 2. Intro...
The code looks like this: SELECT @i:=@i+1 rowNum,...
Table of contents 1. Import files 2. HTML page 3....