SUSE-Cloud/cookbook-mysql — pull request #3 by tpaszkowski (2013-03-18 12:32:05+00:00)
Title: Fix mysql server attribiutes for suse family [mysql.sock,mysql.pid] and service name.

1) As /etc/init/mysql script is having hardcoced path to resources, recipe
needs to generate proper ones.

On mysql version < 5.5 (SLE11_SP2)

socket --> /var/lib/mysql/mysql.sock
pid_file --> /var/lib/mysql/mysqld.pid

on mysql/mariadb >= 5.5 (OpenSUSE 12.2)

socket --> /var/run/mysql/mysql.sock
pid_file --> /var/run/mysql/mysqld.pid

2) Serivce name for mysql server on SLE and openSUSE is mysql.