Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/218853
Change subject: ci-settings: point MySQL db to 127.0.0.1
......................................................................
ci-settings: point MySQL db to 127.0.0.1
Wikimedia HHVM 3.6.x build does not support connecting to MySQL over an
Unix socket. Change the CIVICRM_MYSQL_CLIENT from 'localhost' to
'127.0.0.1' which trigger a TCP connection.
Bug: T102720
Change-Id: I01bb04aecadc97b8c8708bb52fea57e209dd9f02
---
M bin/ci-settings.sh
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm
refs/changes/53/218853/1
diff --git a/bin/ci-settings.sh b/bin/ci-settings.sh
index 15836d8..d8df87d 100644
--- a/bin/ci-settings.sh
+++ b/bin/ci-settings.sh
@@ -10,7 +10,10 @@
CIVICRM_SCHEMA_PREFIX="civicrm_${JOB_ID}_"
-CIVICRM_MYSQL_CLIENT="localhost"
+# 'localhost' would use socket for the MySQL which Wikimedia HHVM build does
+# not support.
+CIVICRM_MYSQL_CLIENT="127.0.0.1"
+
# MySQL username is limited to 16 chars, use build number as an identifier:
CIVICRM_MYSQL_USERNAME="civitest_${BUILD_NUMBER}"
--
To view, visit https://gerrit.wikimedia.org/r/218853
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I01bb04aecadc97b8c8708bb52fea57e209dd9f02
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits