summaryrefslogtreecommitdiff
path: root/tools/install_mariadb.bat
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-06-01 16:37:20 +0200
committerGitHub <noreply@github.com>2019-06-01 16:37:20 +0200
commitf6505f67237e7381eb364212789531421e60bd5a (patch)
tree529bf10ba9f0901691e171dbe3f4b93357308a08 /tools/install_mariadb.bat
parent69abd68efd576efa86462cbed7c6d1579abd7d76 (diff)
parent9813890b1b0e9dfe1e795c4bcd7fbb0d9cfb7131 (diff)
downloadhercules-f6505f67237e7381eb364212789531421e60bd5a.tar.gz
hercules-f6505f67237e7381eb364212789531421e60bd5a.tar.bz2
hercules-f6505f67237e7381eb364212789531421e60bd5a.tar.xz
hercules-f6505f67237e7381eb364212789531421e60bd5a.zip
Merge pull request #2222 from Helianthella/scoop
Simplify windows installation
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