Re: Windows mysqld: Failed to find valid data directory
OK, I eventually discovered that the installer put the my.ini file in a place where mysqld does not automatically look. After copying my.ini from "\ProgramData\MySQL\MySQL Server 8.0" to "\Program Files\MySQL\MySQL Server 8.0", I got a different error:
[ERROR] Found option without preceding group in config file C:\Program Files\MySQL\MySQL Server 8.0\my.ini at line 1.
After some examination and experiments, I discovered that the installed my.ini was in UTF-8 format while mysqld apparently requires ANSI format. I used Notepad to convert and now, it launches.
Subject
Views
Written By
Posted
42542
March 18, 2019 03:27PM
Re: Windows mysqld: Failed to find valid data directory
20062
March 19, 2019 04:36PM
5887
January 13, 2020 05:16PM
5731
October 09, 2019 06:43AM
3592
January 13, 2020 05:19PM
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.