diff --git a/buildout/instance-profiles/testrunner.cfg b/buildout/instance-profiles/testrunner.cfg index 018c6c3314e93f48971a8a1f3655c4cd7030b7fe..e5efeaf661b2aec710d41443a59e418d3eaa1460 100644 --- a/buildout/instance-profiles/testrunner.cfg +++ b/buildout/instance-profiles/testrunner.cfg @@ -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} diff --git a/buildout/profiles/development.cfg b/buildout/profiles/development.cfg index 90e88ce7aefb777979f6711852106a102b6d9f6f..f3093cca84c451850d4675674d95c4a39974d792 100644 --- a/buildout/profiles/development.cfg +++ b/buildout/profiles/development.cfg @@ -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