I try use LOAD DATA LOCAL INFILE statement by mysqldb in python. I obtain follwing error. OperationalError: (1148, 'The used command is not allowed with this MySQL version')
and I set the option in mysql my.cnf file :
[mysqldump] quick
quote-names
max_allowed_packet = 16M
[mysql]
no-auto-rehash # faster start of mysql but no tab completition
local-infile=1
[isamchk]
key_buffer = 16M
but still not working :-(
Maybe I can use some statement in MySQLdb connect function like:
mysql --local-infile=1 -u username -p
Thanks for help Martin