LOAD DATA LOCAL INFILE usdd command is not allowed in this version of mysql

simonjones

Verified User
Joined
Feb 20, 2014
Messages
9
Hi I am trying to unpack a csv file using LOAD DATA LOCAL INFILE
I get the error
used command is not allowed in this version of mysql

I changed my.conf to allow it but it will not work?
 
Hello,

Did you restart mysqld? What do you have in php.ini

Code:
[my@server ~]$ php -i | grep infile
mysql.allow_local_infile => On => On
mysqli.allow_local_infile => On => On
[my@server ~]$
 
Yes i restarted

Yes i restart it every time i update something and the httpd server

This is what the command returned so it is on

Code:
[root@server ~]# php -i | grep infile
PHP Warning:  Unknown: Invalid date.timezone value 'MSK', we selected the timezone 'UTC' for now. in Unknown on line 0
mysql.allow_local_infile => On => On
mysqli.allow_local_infile => On => On
[root@server ~]#
 
Back
Top