Diederik has uploaded a new change for review.

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


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, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/27/62727/1

diff --git a/puppet/modules/mysql/templates/my.cnf.erb 
b/puppet/modules/mysql/templates/my.cnf.erb
index 9a382aa..5ad7fa3 100644
--- a/puppet/modules/mysql/templates/my.cnf.erb
+++ b/puppet/modules/mysql/templates/my.cnf.erb
@@ -8,6 +8,7 @@
 [mysql]
 pager = "less -inSFX"
 prompt = "(\R:\m)\_\u@\h:[\d]>\_"
+local-infile=1
 
 <% if @dbname %>
 database = "<%= @dbname %>"
@@ -15,3 +16,7 @@
 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: newchange
Gerrit-Change-Id: Idf945e28ad8ca97e3f4626dec8137d58bf1456cb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Diederik <[email protected]>

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

Reply via email to