Is there a data folder in the root directory of the MySQL installation?The data folder cannot be created manually because there is no data file for the manual creation. You need to use the following command
Mysqld — the initialize – insecure
Initialize the data files under dataDir, and then a data folder will appear under the root directory of the installation, which will contain a bunch of files
If an error occurs during this process, follow the following steps to re-execute it
First uninstall the service using the mysqld — remove command
Then install it using the mysqld — install command
I then initialize it using mysqld –initialize-insecure
Mysqld — the initialize – insecure
Initialize the data files under dataDir, and then a data folder will appear under the root directory of the installation, which will contain a bunch of files
If an error occurs during this process, follow the following steps to re-execute it
First uninstall the service using the mysqld — remove command
Then install it using the mysqld — install command
I then initialize it using mysqld –initialize-insecure
Read More:
- Fatal error: Please read “Security” section of the manual to find out how to run mysqld as root!
- MySQL error — multiple methods of failed to find valid data directory and MySQL setting password appear
- Install / Remove of the Service denied! Error occurred when installing MySQL service
- The MySQL service suddenly hangs up with the error message can’t connect to MySQL server on ‘localhost’ (10061)
- The simplest way to completely unload cygwin under Windows
- Countermeasures for Error 1935 when installing MATLAB under Windows 10
- Centos 7 | mariadb/mysql | [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
- After installing MySQL again under Linux, the solution of ‘MySQL module failed to start’ appears
- Cydia sub-process/USr/Libexec/Cydia/Cydo error 100
- Incomplete and “the Jupiter” distribution was not found
- It can’t connect to local MySQL server through socket ‘/ tmp/ mysql.sock ‘(2) “;
- Thoroughly solve mysql error: 1030,’Got error 28 from storage engine’
- Question: cannot create windows service for mysql.error : 0 (install MySQL)
- The MySQL server is running with the — secure file priv option
- How to clean up the disk space of Linux server
- Error: MySQL shutdown unexpectedly
- Win7 system build PHP + MySQL + Apache environment + deploy ECSHOP project
- #How to handle the installation rollback and 1205 connection error of pulse secure ා
- MYSQL login error: mysqladmin: connect to server at’localhost’ failed
- MySQL Access denied