summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_stop.sh
blob: 8511481a6acf9ab2af4909cd507d64e0a84edce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
source set_bottlenecks_rubbos_env.sh

echo "STOPPING MYSQL on $HOSTNAME"

cd $MYSQL_HOME
bin/mysqladmin --socket=$MYSQL_SOCKET  --user=root --password=$ROOT_PASSWORD shutdown

echo "MYSQL IS STOPPED on $HOSTNAME"