From ff924e6f19a186f290cd03f6a35cb2d498466ed7 Mon Sep 17 00:00:00 2001 From: Sebastian Schwarz Date: Thu, 7 Aug 2014 12:55:56 +0200 Subject: [PATCH] Also adjust port and socket of the MySQL client --- templates/my.cnf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/my.cnf.j2 b/templates/my.cnf.j2 index 245cbc5..ee0ac85 100644 --- a/templates/my.cnf.j2 +++ b/templates/my.cnf.j2 @@ -1,7 +1,7 @@ [client] #password = your_password -port = 3306 -socket = /var/lib/mysql/mysql.sock +port = {{ mysql_port }} +socket = {{ mysql_socket }} [mysqld] port = {{ mysql_port }}