summaryrefslogtreecommitdiff
path: root/tools/install_mariadb.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/install_mariadb.bat')
-rw-r--r--tools/install_mariadb.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/install_mariadb.bat b/tools/install_mariadb.bat
new file mode 100644
index 000000000..cfe2ce3b7
--- /dev/null
+++ b/tools/install_mariadb.bat
@@ -0,0 +1,7 @@
+@echo off
+
+:: this file installs the mariadb service
+
+if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
+mysqld.exe --install "MySQL"
+net start MySQL