Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/61278
Change subject: Set EventLogging client encoding to utf8mb4 (was: utf8)
......................................................................
Set EventLogging client encoding to utf8mb4 (was: utf8)
I've performed the migration by hacking the Python code to substitute utf8mb4
for utf8 in the database connection string, but I'd like to remove the hack.
Change-Id: I8fdcc046dbd0b56efaf2247b59cd141fc7e827c9
---
M modules/eventlogging/templates/eventlogging.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/78/61278/1
diff --git a/modules/eventlogging/templates/eventlogging.conf.erb
b/modules/eventlogging/templates/eventlogging.conf.erb
index 2392cf1..a04b018 100644
--- a/modules/eventlogging/templates/eventlogging.conf.erb
+++ b/modules/eventlogging/templates/eventlogging.conf.erb
@@ -124,7 +124,7 @@
[program:json2sql-db1047]
user = eventlogging
command = json2sql --sid=db1047 tcp://localhost:8600
- mysql://<%= scope.lookupvar('passwords::mysql::eventlogging::user') %>:<%=
scope.lookupvar('passwords::mysql::eventlogging::password')
%>@db1047.eqiad.wmnet/log?charset=utf8
+ mysql://<%= scope.lookupvar('passwords::mysql::eventlogging::user') %>:<%=
scope.lookupvar('passwords::mysql::eventlogging::password')
%>@db1047.eqiad.wmnet/log?charset=utf8mb4
priority = 500
redirect_stderr = true
stdout_logfile = /var/log/supervisor/%(program_name)s.log
--
To view, visit https://gerrit.wikimedia.org/r/61278
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8fdcc046dbd0b56efaf2247b59cd141fc7e827c9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits