Mysql – Python SQL TypeError: can't concat list to bytes
I'm trying to open a SQL template in Python which creates a database with tables and excutes using pymsql. However, I keep getting an error. import pymysql import Settings with open('Settings/databasetemplate.sql', 'r') as sql_file: sql = sql_file.read() conn = pymysql.connect(host='*****',…