is it possible to set up tables for Mysql in Python?
Here's my problem, I have bunch of .txt files which I want to load into Mysql database. Instead of creating tables in phpmyadmin manually, is it possible to do the following things all in Python?
- Create table, including data type definition.
- Load many files one by one. I only know this
LOAD DATA LOCAL INFILE
command to load one file.
Many thanks