Comments - mariadb-install-db.exe - defaults-file - unknown variable

1 year, 8 months ago Vladislav Vaintroub

There is no --config in the 10.5 . If you look into https://mariadb.com/kb/en/mysql_install_dbexe/ which I mentioned previously, you'll find --config was introduced in 10.6.1, also you won't any mentioning of --defaults-file there.

Now, if your version does not support --config, you'd need to do something else. Lilke a tool which can be used to automate ini editing on the command line. Quick googling finds https://github.com/dbohdan/initool , which has prebuilt windows binaries. stackoverflow find something about powershell https://stackoverflow.com/questions/55338755/function-get-inicontent-is-not-recognized-ini-file-support-inpowershell (this module needs to be installed).

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.