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

17 lines
363 B
Bash

#!/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