Home > database >  Initalizing database error log red part how to solve
Initalizing database error log red part how to solve

Time:05-24

Beginning the configuration step: Writing the configuration file

Saving my. Ini configuration file...
Saved my. Ini configuration file.
Ended the configuration step: Writing the configuration file

Beginning the configuration step: Updating the Windows Firewall rules

Adding a Windows Firewall rule for MYSQL80 on port 3306.
Attempting to add a Windows Firewall rule with the command: netsh. Exe advfirewall Firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
Sure,


Successfully added to the Windows Firewall rule.
Adding a Windows Firewall rule for MYSQL80 on port 33060.
Attempting to add a Windows Firewall rule with the command: netsh. Exe advfirewall Firewall add rule name="Port 33060" protocol=TCP localport=33060 dir=in action=allow
Sure,


Successfully added to the Windows Firewall rule.
Ended the configuration step: Updating the Windows Firewall rules

Beginning the configuration step: Adjusting Windows service

Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
The New service added
Ended the configuration step: Adjusting Windows service

Beginning the configuration step: the Initializing database (may take a long time)

Attempting to run the MySQL Server with - the initialize - insecure option...
Starting the process for MySQL Server 8.0.25...
Starting the process with the command: C: \ Program Files \ MySQL \ MySQL Server 8.0 \ bin \ mysqld exe - defaults - file="C: \ ProgramData/MySQL/MySQL Server 8.0 \ my ini" - the console - the initialize - insecure=on - the lower - case - table - names=1...
mysqld: Can 't get the stat of' C: \ WINDOWS \ '(OS errno 2 - No to the file or directory)
'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO SQL modes should be 2 with strict mode. They will be merged with strict mode in a future release.
The designated data directory C: \ ProgramData/MySQL/MySQL Server 8.0 \ data \ is very often You can remove all files that The Server added to it.

Aborting
The Process for mysqld, with ID 17704, was run successfully and exited with code 1.
Failed to start the process for MySQL Server 8.0.25.
Database initialization failed.
Ended the configuration step: the Initializing database (may take a long time)
  • Related