Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/151848

Change subject: civicrm: shorter mysql username
......................................................................

civicrm: shorter mysql username

Change-Id: I76f7ee81932d7f3a74012e841bae70e103cb6158
---
M bin/civi-ci-settings.sh
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins 
refs/changes/48/151848/1

diff --git a/bin/civi-ci-settings.sh b/bin/civi-ci-settings.sh
index a3c568f..be76c7c 100644
--- a/bin/civi-ci-settings.sh
+++ b/bin/civi-ci-settings.sh
@@ -17,5 +17,7 @@
 CIVICRM_SCHEMA="civicrm_${JOB_ID}"
 
 BUILD_HOST=`hostname`
-CIVICRM_MYSQL_USERNAME="civitest_${JOB_ID}"
+# MySQL username is limited to 16 chars, use build number as an identifier:
+CIVICRM_MYSQL_USERNAME="civitest_${BUILD_NUMBER}"
+
 CIVICRM_MYSQL_PASSWORD="pw_${JOB_ID}"

-- 
To view, visit https://gerrit.wikimedia.org/r/151848
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I76f7ee81932d7f3a74012e841bae70e103cb6158
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to