Why can't I use LOAD DATA LOCAL with PDO even though I can from cli client?

与世无争的帅哥 提交于 2019-11-29 05:14:11

This is a bug in php. Please see https://bugs.php.net/bug.php?id=68226 for explanation and workaround.

Installing php5-mysqlnd to replace php5-mysql fixed the problem:

sudo apt-get install php5-mysqlnd

It will automatically remove php5-mysql.

I'm guessing this is a bug either in php5-mysql or the underlying libmysqlclient.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!