Blame tests/p_mysql/50_switch_to_mysql55.sh

Christoph Galuschka 72f89d
#!/bin/bash
Christoph Galuschka 72f89d
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka 72f89d
#	  Christoph Galuschka <tigalch@tigalch.org>
Christoph Galuschka 72f89d
Christoph Galuschka 72f89d
t_Log "Running $0 - switching to mysql55 on C5."
Christoph Galuschka 72f89d
Christoph Galuschka 72f89d
if [ $centos_ver = 5 ]
Christoph Galuschka 72f89d
then
Christoph Galuschka 72f89d
  t_ServiceControl mysqld stop
Christoph Galuschka d87402
  t_ServiceControl mysql55-mysqld start >/dev/null 2>&1
Christoph Galuschka 72f89d
else
Christoph Galuschka 72f89d
  t_Log "This is not a C5 system - skipping"
Christoph Galuschka 72f89d
fi