database/sql: ensure correct mysql binding

In some packages, mysql is binded to 0.0.0.0 with is not good for
HAproxy.
We have to ensure that MySQL is binded to api_eth to avoid this issue.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi 2014-08-08 18:19:50 +02:00
parent 9e67b911a3
commit 151203bec9

View File

@ -2,6 +2,7 @@
# Module:: cloud::database::sql # Module:: cloud::database::sql
# #
[mysqld] [mysqld]
bind-address = <%= @api_eth %>
default-storage-engine = innodb default-storage-engine = innodb
collation-server = utf8_general_ci collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8' init-connect = 'SET NAMES utf8'