Forums

Best way to load lots of data into the SQL database

I always get sent into the Tarpit when I try to load data through the Python shell. Is there a better way for me to load large amounts of error-prone data into SQL tables?

Any UI tools to easily load CSV data: https://stackoverflow.com/questions/3635166/how-do-i-import-csv-file-into-a-mysql-table.

Only added about a 10th of the data before sent to the tarpit.

Is the data in CSV format? If so, have you tried using the mysqlimport tool that is mentioned on that SO page? It's available on PythonAnywhere in a bash console.

you may also import that in saveral pages.. so it will not be very heavy.

That's also possible.