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
Table of contents Preface Implementation ideas Im...
Optimize the fastcgi configuration file fcgiext.i...
When we are writing a page, we often encounter a ...
When making forms, we often encounter the situati...
Table of contents 1. Introduction to MySQL Index ...
Table of contents 01-Event Bubbling 1.1- Introduc...
Preface In MySQL, both Innodb and MyIsam use B+ t...
Introduction to Git Git is an open source version...
Autotrash is a command line program that automate...
This article example shares the specific code of ...
What you will create In this new tutorial, we'...
Set vim's working mode (temporary) :set (mode...
question The code has no prompt: Many non-front-e...
background: Tablespace: All INNODB data is stored...
Table of contents 1. How to find duplicate rows 2...