Re: Re: mysqlnd and LOAD DATA INFILE
| From: | Shawn McKenzie | Date: | Mon, 20 Jun 2011 16:02:30 +0000 |
| Subject: | Re: Re: mysqlnd and LOAD DATA INFILE | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313617@lists.php.net to get a copy of this message | ||
On 06/20/2011 10:53 AM, Marten Lehmann wrote:
> Hello,
>
>> What does that mean? It generates an error? It executes without error
>> but the data isn't loaded? Try a test on the command line and see what
>> you get.
>
> when calling mysql_error() the message "The used
> command is not allowed with this MySQL version" is returned.
>
> I thought maybe knows between this and mysqlnd? Because recompiling PHP
> with --with-mysql=mysqlnd is the only difference to the previous PHP
> build, where LOAD DATA INFILE worked.
>
> Kind regards
> Marten
This is a PHP list, but most likely run: mysql_fix_privilege_tables and
then restart mysql.
--
Thanks!
-Shawn
http://www.spidean.com