summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_stop.sh
blob: 9f89f8db6738caf787b86a76bdcbd8e6ef7388ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
bin/mysqladmin shutdown

echo "MYSQL IS STOPPED on $HOSTNAME"