Page MenuHomePhabricator

Add setup warnings for "local_infile" (MySQL Server) and "mysql[i].allow_local_infile" (PHP Client)
ClosedPublic

Authored by epriestley on Jan 18 2019, 5:37 PM.
Tags
None
Referenced Files
F13079725: D19999.diff
Wed, Apr 24, 1:34 AM
Unknown Object (File)
Tue, Apr 23, 6:14 AM
Unknown Object (File)
Sun, Apr 21, 6:40 PM
Unknown Object (File)
Sat, Apr 20, 4:29 PM
Unknown Object (File)
Thu, Apr 11, 8:06 AM
Unknown Object (File)
Mon, Apr 8, 3:55 AM
Unknown Object (File)
Sun, Apr 7, 10:18 AM
Unknown Object (File)
Sat, Mar 30, 7:22 AM
Subscribers
None

Details

Summary

Ref T13238. Warn users about these horrible options and encourage them to defuse them.

Test Plan

Hit both warnings, fixed the issues, issues went away.

Diff Detail

Repository
rP Phabricator
Branch
infile1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21595
Build 29442: Run Core Tests
Build 29441: arc lint + arc unit

Event Timeline

  • Wordsmithing: the query is "LOCAL INFILE", not "INFILE LOCAL".

The blasé discussion in the MySQL documentation about how "yes, this does exactly what it looks like it it does" just kills me.

This revision is now accepted and ready to land.Jan 19 2019, 1:00 AM
This revision was automatically updated to reflect the committed changes.