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
F19921500: D19999.id47740.diff
Mon, Apr 6, 6:10 AM
F19920055: D19999.id47740.diff
Sun, Apr 5, 10:38 AM
F19905452: D19999.id47747.diff
Tue, Mar 31, 6:00 PM
F19898830: D19999.id.diff
Sun, Mar 29, 4:12 PM
F19869916: D19999.id.diff
Sun, Mar 15, 6:43 AM
F19810749: D19999.diff
Mar 3 2026, 9:04 PM
F19810010: D19999.id.diff
Mar 3 2026, 5:03 PM
F19809453: D19999.id.diff
Mar 3 2026, 10:36 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.