diff options
author | QiLiang <liangqi1@huawei.com> | 2016-01-09 09:31:41 +0000 |
---|---|---|
committer | Jun Li <matthew.lijun@huawei.com> | 2016-01-10 05:45:18 +0000 |
commit | acbeb20b51c12f5ea486640e0e2a4e2cb81712c3 (patch) | |
tree | e80c5283c5da48c37dcc347ad65b5506947f9e96 /rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_ignition.sh | |
parent | d30740bb6c80729281453878eda29abc32549161 (diff) |
Support run rubbos test mult times
Update Mysql configuration to support run test mult times
JIRA: BOTTLENECK-24
Change-Id: I29f2b17be03b095e1af569a53bbbecf4f78ab005
Signed-off-by: QiLiang <liangqi1@huawei.com>
(cherry picked from commit 7be8a9f58376fb3ef0b2f5ecde03edca0e80035a)
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_ignition.sh')
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_ignition.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_ignition.sh b/rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_ignition.sh index a673537f..5f230cb9 100755 --- a/rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_ignition.sh +++ b/rubbos/rubbos_scripts/1-1-1/scripts/MYSQL1_ignition.sh @@ -3,8 +3,12 @@ cd /bottlenecks/rubbos/rubbos_scripts/1-1-1 source set_bottlenecks_rubbos_env.sh -echo "STARTING MYSQL on $HOSTNAME" +echo "STARTING MYSQL on $HOSTNAME $(date)" -# TODO start mysqld here, currently mysql is started by MYSQL1_configure.sh +cd $MYSQL_HOME +bin/mysqld_safe& +sleep 10 +/etc/init.d/mysql.server status -echo "MYSQL IS RUNNING on $HOSTNAME" + +echo "MYSQL IS RUNNING on $HOSTNAME $(date)" |