Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.3.9
-
None
-
Windows 10
Description
I got different kind of error trying to install db.
First I tried this command:
mysql_install_db.exe --datadir=C:\...\mysql_data_dir -o
Where I got ERROR: 1049 Unknown database 'mysql'
And then
2018-10-19 15:33:40 0 [ERROR] Aborting
So following that jira to have more information:
mysqld --datadir=C:\...\mysql_data_dir --skip-grant-tables --console
So it seems I missed mysql database but it is not supposed to add it by itself?
mysql_install_db is supposed to create datadir, and mysql subdirectory inside it (i.e the database mysq), if those do not exist already. However as I checked, diagnostics in failure case are not very good (exactly, non-existent)
You can check why it failed, with procmon, and if you succeed, you can send the procmon output file .
My first guess would be permission problems