[edited by admin: formatting]
import MySQLdb as mdb
engine = mdb.connect(host='bk-prod-us1.cd2junihlkms.us-east-1.rds.amazonaws.com',user='r5ehssz',passwd='R3wPU6v',db='backands146367311ktcttuv7',port=3306)
cur = engine.cursor()
df_2.to_sql(name='KLSE', con=engine, flavor='mysql', if_exists='replace')
cur.execute("alter table KLSE add id int primary key auto_increment")
The code above work fine In Anaconda by send data over to backand.com MySQL. In a free account it cause error. If I upgrade to a hacker account, will it working fine without any code changing?