Code Review
/
bottlenecks.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Update control configure
[bottlenecks.git]
/
rubbos
/
rubbos_scripts
/
1-1-1
/
scripts
/
MYSQL1_stop.sh
1
#!/bin/bash
2
3
cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
4
source set_bottlenecks_rubbos_env.sh
5
6
echo "STOPPING MYSQL on $HOSTNAME"
7
8
cd $MYSQL_HOME
9
bin/mysqladmin --socket=$MYSQL_SOCKET --user=root --password=$ROOT_PASSWORD shutdown
10
11
echo "MYSQL IS STOPPED on $HOSTNAME"