This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

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

Hi. I am just seeking some advise or assistance with initialising a new database data folder for a new MariaDB installation. I am referring to this site for information, and am just stuck as one of the documented parameters is not working for me.

Web link reference: https://mariadb.com/kb/en/mysql_install_db/

The command I am running is: mariadb-install-db.exe --defaults-file="C:\Temp\my.ini"

I then get this error: unknown variable 'defaults-file=C:\Temp\my.ini'

I am running this command in CMD on a Windows 10 PC.

Hoping to get advice on what I am missing here to achieve initialising a new server install with a custom my.ini file.

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.