MySQL 8.0.13 has a data folder by default. This folder must be deleted, otherwise there will be a log file prompt error when installing the service:
Also, create a new my.ini file in the mysql folder with the following content: If the previous setup failed but the MYSQL service was created, Open cmd as an administrator. (In fact, open cmd directly first, then open the task manager, find the location of cmd and run it as an administrator.) Type If there is, delete it by typing sc delete MYSQL (default name, you may have set another name before, just enter the other name) in the cmd run by the administrator Of course, you can also enter If you confirm that there is no mysql service Type wait Then enter Then enter The MYSQL service was started successfully. (This is my MySQL zip installation memo. If it can help other experts, it will be great.) [mysql] # Set the default character set of the mysql client to default-character-set=UTF8Mb4 [mysqld] # Set port 3306 port = 3306 # Set the installation directory of mysql basedir = D:\\mysql # Set the storage directory of mysql database data datadir = D:\\mysql\\data # Maximum number of connections allowed max_connections=20 # The default character set used by the server is the 8-bit latin1 character set character-set-server=UTF8Mb4 # The default storage engine that will be used when creating a new table default-storage-engine=INNODB Summarize The above is the editor's introduction to the installation method of MySQL 8.0.13zip package. 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:
|
<<: Example steps for using AntV X6 with Vue.js
>>: Detailed explanation of Nginx configuration required for front-end
mysql query with multiple conditions Environment:...
1 Stored Procedure 1.1 What is a stored procedure...
We can create jsx/tsx files directly The project ...
MySQL official website download address: https://...
I have found a lot of online resources on this pro...
0x00 Introduction A few months ago, I found a vul...
Source: http://www.ruoyi.vip/ import Vue from ...
Automatically discover disks Configuration Key Va...
Table of contents 1. Installation 2. Use Echarts ...
Table of contents 1. df command 2. du command 3. ...
1. Javascript returns to the previous page history...
Table of contents 1. Offline installation 2. Onli...
Table of contents 1 The role of Apache 2 Apache I...
Test environment: C:\>systeminfo | findstr /c:...
Shell is a program written in C language, which i...