Update tosca lib to version 0.5
[parser.git] / tosca2heat / tosca-parser / toscaparser / tests / artifacts / mysql / mysql_dbms_configure.sh
1 #!/bin/sh
2 sed --regexp-extended "s/(port\s*=\s*)[0-9]*/\1$db_port/g" </etc/mysql/my.cnf >/tmp/my.cnf
3 mv -f /tmp/my.cnf /etc/mysql/my.cnf
4 /etc/init.d/mysql stop
5 /etc/init.d/mysql start