1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-15 22:22:17 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/scripts/restart.sh
2016-01-06 14:08:59 -06:00

17 lines
363 B
Bash
Executable File

#!/bin/bash
#
# Restarts the database.
#
if [ -f /usr/local/Calpont/bin/calpontConsole ]; then
/usr/local/Calpont/bin/calpontConsole restartsystem y Force
/usr/local/Calpont/mysql/mysql-Calpont restart
else
# If there's no calpontConsole, then we are running local with a single PM; better be Windows.
idbsvsto.bat
idbsvsta.bat
sleep 3
echo restarted
fi