Mysql.connector issue

Hey DB1,

you can format your code in the forum so it becomes more readable for others.
Here is a nice tutorial that tells you how you can do that:

To your question. I guess you forgot to add the database parameter to your sql.connect() call.

best
Dennis