MySQL Forums
Forum List  »  Connector/Python

using LOAD DATA LOCAL INFILE with mySQLdb
Posted by: Noel Hollingsworth
Date: June 07, 2011 11:12AM

In MySQLDb I'm using code where I execute something like "LOAD DATA LOCAL INFILE 'filename' INTO table ignore 1 lines(table values), but it's giving me the error _mysql_exceptions.OperationalError: (1148, 'The used command is not allowed with this MySQL version'). Does anyone know a fix for this? I've googled and most of the answers seem to be for SQL, not the python SQL libraries, so I am not sure how to get this working.

Options: ReplyQuote


Subject
Written By
Posted
using LOAD DATA LOCAL INFILE with mySQLdb
June 07, 2011 11:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.