Merge pull request #8 from darthwade/feature-bind-address

Add mysql_bind_address to configuration.
This commit is contained in:
Jeff Geerling
2014-11-16 15:29:41 -06:00
3 changed files with 3 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ The MySQL users and their privileges. A user has the values `name`, `host` (defa
(RedHat/CentOS only) If you have enabled any additional repositories (might I suggest geerlingguy.repo-epel or geerlingguy.repo-remi), those repositories can be listed under this variable (e.g. `remi,epel`). This can be handy, as an example, if you want to install later versions of MySQL.
mysql_port: "3306"
mysql_bind_address: '0.0.0.0'
mysql_datadir: /var/lib/mysql
mysql_socket: /var/lib/mysql/mysql.sock

View File

@@ -9,6 +9,7 @@ mysql_enablerepo: ""
# MySQL connection settings.
mysql_port: "3306"
mysql_bind_address: '0.0.0.0'
mysql_datadir: /var/lib/mysql
mysql_socket: /var/lib/mysql/mysql.sock

View File

@@ -5,6 +5,7 @@ socket = {{ mysql_socket }}
[mysqld]
port = {{ mysql_port }}
bind-address = {{ mysql_bind_address }}
datadir = {{ mysql_datadir }}
socket = {{ mysql_socket }}