How can I specify connection protocol in db OPTIONS? If I use:
'ENGINE': 'django.db.backends.mysql',
...
'OPTIONS': {
'protocol': 'TPC',
},
error is 'protocol' is an invalid keyword argument for this function
I'm trying to set OPTIONS as on Django docs and here is MySQL reference It is because I want to establish connection to remote db with ssh tunnel.
OPTIONS--protocol=TPCto establish connection with remote mysql db.mysql -u X -pXX -h localhost --protocol=TCP XX