jenkins-bot has submitted this change and it was merged.

Change subject: Enable LOAD LOCAL INFILE in MySQL
......................................................................


Enable LOAD LOCAL INFILE in MySQL

Without 'local-infile=1' you would get error 'The used command is not allowed
with this MySQL version'

Change-Id: Idf945e28ad8ca97e3f4626dec8137d58bf1456cb
---
M puppet/modules/mysql/templates/my.cnf.erb
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/puppet/modules/mysql/templates/my.cnf.erb 
b/puppet/modules/mysql/templates/my.cnf.erb
index b27300f..7c0f289 100644
--- a/puppet/modules/mysql/templates/my.cnf.erb
+++ b/puppet/modules/mysql/templates/my.cnf.erb
@@ -11,6 +11,10 @@
 <% if @default_db_name -%>
 database = "<%= @default_db_name %>"
 <% end -%>
+local-infile=1
 comments = true
 show-warnings = true
 default-character-set = utf8
+
+[mysqld]
+local-infile=1

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idf945e28ad8ca97e3f4626dec8137d58bf1456cb
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Diederik <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to