I want to how can i upload a csv file into mysql database and in mysql database it gives table name and it automatically understand the schema and insert the data
I am not able to figure it out the way to do this
@database_queries_bp.post('/upload_csv_mysql')
def upload_csv_to_mysql():
file = request.files['file']