1. First go to the official website to download the MySQL installation package https://dev.mysql.com/downloads/mysql/ 2. After downloading, unzip it to the directory where you want to install MSQ (such as D:\Mysql) 3. Run the command line as an administrator and enter the bin directory of the MySQL installation package (D:\MySQL\mysql-8.0.18-winx64\bin) 4. Execute the command mysqld --initialize --console (a data folder will be automatically generated, and a temporary password will be generated. Remember the temporary password) 5. Execute the command mysqld --install (prompt that the installation is successful) 6. Execute the command net start mysql (start the MYSQL service. If the startup fails, query the reason for the failure) 7. After the mysql service is started, execute the command mysql -u root -p to log in to mysql, enter the temporary password generated in step 4, and you can log in successfully. Note: I previously searched for the installation method on Baidu online, created a my.ini file for installation, and failed many times. Finally, I failed to create a my.ini file and successfully installed it. Each time I install, I must uninstall the previously installed MySQL and restart the computer. Then follow my steps to install it successfully. Summarize The above is the detailed steps for installing MySQL 8.0.18-winx64 on win10 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:
|
<<: Implementation of Nginx forwarding matching rules
>>: Pure JavaScript to implement the number guessing game
Table of contents Preface vue.config.js configura...
First, let me explain the version of MySQL: mysql...
Table of contents Preface What is a filter How to...
Table of contents need: Problems encountered: sol...
Copy code The code is as follows: <span style=...
When developing and debugging a web application, ...
The performance of your website or service depend...
Many people have read this book: "Grow as a ...
Preface The delay of MySQL master-slave replicati...
I have previously shared the usage of asynchronou...
Check the top 100 highest scores in game history ...
This article shares the specific code for JavaScr...
When we work in a terminal or console, we may not...
There are some issues that are not limited to Vue...
Table of contents 1. Problem Description 2. Probl...