Problems encountered when installing mysql-8.0.19-winx64: Can't create directory 'xxxx\Database\'

Problems encountered when installing mysql-8.0.19-winx64: Can't create directory 'xxxx\Database\'

mysql-8.0.19-winx64 downloaded from the official website

Windows (x86, 64-bit), ZIP Archive

Attach the download address https://dev.mysql.com/downloads/mysql/

According to other friends' articles, I wrote my.ini

But I encountered a very tricky part during installation

As shown in the figure, run as an administrator, enter mysqld --initialize --console in the command line window, execute the initialization command, and errors such as mysqld: Can't create directory 'D: system tool\mysql-8.0.19-winx64\Database' (OS errno 2 - No such file or directory) appear.

insert image description here

It's obviously a path problem, but I still think I wrote it right.

basedir=D:\system tool\mysql-8.0.19-winx64

datadir=D:\system tool\mysql-8.0.19-winx64\Database

Finally I gave in

basedir=D://ystem tool/mysql-8.0.19-winx64

datadir=D://system tool/mysql-8.0.19-winx64/Database

Just write the slash in reverse. I hope that when you encounter this problem, you can avoid taking detours.

Summarize

The above is the problem encountered in installing mysql-8.0.19-winx64 introduced by the editor: Can't create directory ''xxxx\Database\''. I hope it will be helpful to everyone. Thank you very much for your support of the 123WORDPRESS.COM website!

You may also be interested in:
  • MySQL 8.0.19 winx64 installation tutorial and change the initial password under Windows 10
  • mysql 8.0.19 winx64.zip installation tutorial

<<:  Detailed explanation of the problem of configuring servlet url-pattern in tomcat

>>:  JavaScript to achieve calendar effect

Recommend

React and Redux array processing explanation

This article will introduce some commonly used ar...

How to implement page jump in Vue project

Table of contents 1. Create a vue-cli default pro...

Quickjs encapsulates JavaScript sandbox details

Table of contents 1. Scenario 2. Simplify the und...

How to change the website accessed by http to https in nginx

Table of contents 1. Background 2. Prerequisites ...

MySQL UNION operator basic knowledge points

MySQL UNION Operator This tutorial introduces the...

Navicat for MySql Visual Import CSV File

This article shares the specific code of Navicat ...

Drawing fireworks effect of 2021 based on JS with source code download

This work uses the knowledge of front-end develop...

MySQL series: redo log, undo log and binlog detailed explanation

Implementation of transactions The redo log ensur...

Diagram of the process of implementing direction proxy through nginx

This article mainly introduces the process of imp...

MySQL SHOW PROCESSLIST assists in the entire process of troubleshooting

1. SHOW PROCESSLIST command SHOW PROCESSLIST show...

Table related arrangement and Javascript operation table, tr, td

Table property settings that work well: Copy code ...

Detailed explanation of Vue two-way binding

Table of contents 1. Two-way binding 2. Will the ...

Summary of Vue's cross-domain problem handling and solutions

When you send a network request, the following sa...