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
Uninstall MariaDB CentOS7 installs MariaDB instea...
I encountered a small problem today and struggled ...
1. Create a table CREATE TABLE `student` ( `id` i...
This article example shares the specific code of ...
I'm currently learning about front-end perform...
Table of contents ReactHooks Preface WhyHooks? Fo...
Overview This article is a script for automatical...
VirtualBox is a free and open source virtualizati...
This article example shares the specific code of ...
1. Download the corresponding installation file f...
In the front-end layout process, it is relatively...
Brotli is a new data format that can provide a co...
The implementation of expanding and collapsing li...
CentOS 6 and earlier versions provide MySQL serve...
1 System Installation Steps OS Version:1804 Image...