Why is LOCAL INFILE disabled?

Asked by GRMrGecko on 2012-05-22

I'm having problems with some scripts I wrote in PHP because MySQL is now compiled without the LOCAL INFILE option. The my.cnf, php.ini, and mysqli_options all have the enabling of LOCAL INFILE, yet it still does not work. I know the mysql option --local-infile works when using the mysql command to run the query, however it would be better if I could use the current connection I have in my code rather than spawning a whole new connection using the system function...

According to http://ubuntuforums.org/showthread.php?t=1970615, the recent update disables it. Can we have this re-enabled? Or at least make it so I could enable it via the mysqli_options function in php?

Thanks.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu mysql-5.5 Edit question
Assignee:
No assignee Edit question
Last query:
2012-06-07
Last reply:
2012-06-23
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

GRMrGecko (grmrgecko) said : #2

Really? No answer?

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.