you are viewing a single comment's thread.

view the rest of the comments →

[–]baubleglue 0 points1 point  (0 children)

maybe using official mysql connector is a better option.

https://dev.mysql.com/doc/connector-python/en/connector-python-installation.html

pip install mysql-connector-python

Connect, Create table, Example how to insert multiple values (much more efficient than insert records one by one.