I have the following setup for my MySQL database connections in Django.
'default': { 'NAME' : MYSQL_DB_NAME,
still so good.
What a spell, if I want to add another set command to my init_command command
'init_command' : ('set storage_engine=INNODB', 'set transaction isolation level read committed'),
gives me the argument connect () should be a string, not a tuple "
'init_command' : ('set storage_engine=INNODB; set transaction isolation level read committed;'),
gives me
_mysql_exceptions.ProgrammingError: (2014, "Commands out of sync; you can't run this command now")
source share