Speaking of MariaDB, it is 2 files and 3 directories.
Layout is like this:
- bin\mysqld.exe
- share\english\errmsg.sys # you can take it from share\english in normal installation or ZIP
- data # an empty directory you can start with
bin\mysqld.exe --console --skip-grant-tables
(last parameter is essential, as you do not have system tables).
It is missing system tables, if you need to create them, this will be a couple of more files.
this tool helps https://mariadb.com/kb/en/mariadb/mysql_install_dbexe/ . mysqld_install_db.exe needs to be placed next to mysqld.exe and then you can create system tables with
mysql_install_db.exe --datadir=C:\your\path\to\data --password=SecretPswd123 --port=3307
- bin\mysqld.exe
- bin\server.dll
- bin\mysql_install_db.exe (optional, run once to create data directory, can be removed afterwards)
- data Changes compared to the previous versions : server.dll is new (mysqld.exe needs it), errmsg.sys is no more needed