Commit f5741809 authored by Łukasz Nowak's avatar Łukasz Nowak

- mysql_host parameter, which is a ip on which mysql database listens

   to is different from mysql_host parameter on instances, where it
   means -- what is the ip to connect to, so differentiate them

By default mysql listens on 0.0.0.0, but this is incorrect address to
connect to.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38114 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 027cae97
......@@ -25,7 +25,7 @@ mysql_superpassword =
mysql_database_name = test
mysql_user = root
mysql_password =
mysql_host = ${configuration:mysql_host}
mysql_host = 127.0.0.1
mysql_port = ${configuration:mysql_port}
erp5_sql_connection_string = ${:mysql_database_name}@${configuration:mysql_host}:${configuration:mysql_port} ${:mysql_user}
......
......@@ -20,8 +20,6 @@ development_site_products =
${software_definition:products-cmf15}
development_site_instancehome = ${buildout:var-directory}/development-site
# Use 0.0.0.0 makes site get broken.
mysql_host = 127.0.0.1
[runUnitTest]
<= test-runner-template
......@@ -44,7 +42,7 @@ eggs =
mysql_database_name = development_site
mysql_user = development_user
mysql_password = development_password
mysql_host = ${configuration:mysql_host}
mysql_host = 127.0.0.1
mysql_port = ${configuration:mysql_port}
# create database
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment