Initializing Database Failed
Posted by: Sunil Pandya
Date: January 30, 2023 09:33AM

I have downloaded Mysql 8.0.32, free version, I received following error on installing the server
Adding new service
New service added
Ended configuration step: Adjusting Windows service

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

Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.32...
Starting process with command: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\Program Data\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on --lower-case-table-names=1...
mysqld: Can't get stat of '' (OS err no 2 - No such file or directory)
The designated data directory C:\ProgramData\MySQL\MySQL Server 8.0\Data\ is unusable. You can remove all files that the server added to it.
Process for mysqld, with ID 1608, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.32.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)

The above error was occurring on previous version 8.0.31. I do not know what exactly it is. If any one can show remedy for smooth installation

I have with me Windows 10 Pro Original, and installing via windows installer

Hope to receive answer

Options: ReplyQuote

Written By
Initializing Database Failed
January 30, 2023 09:33AM
February 03, 2023 09:25AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.