Forums

connecting to remote mysql DB

I know this may sounds odd but i want to connect to my remote Database. what that will do is check for a few parameters and if all is good then run the python code.

i was looking at this https://help.pythonanywhere.com/pages/MSSQLServer

but that is Not MySQL my MSSQL

will those instructions still work?

You should set similar settings yes

Can't use similar settings because that uses a mssql library which is for microsoft database

If you want to connect to a remote MySQL database, just use the normal MySQL settings -- for example, if you're using Django, just set up the DATABASES section of your settings.py to point to it.