Connecting to Azure SQL with Python
问题 I am trying to connect to a SQL Database hosted in Windows Azure through MySQLdb with Python. I keep getting an error mysql_exceptions.OperationalError: (2001, 'Bad connection string.') This information works when connecting through .NET (vb, C#) but I am definitely not having any luck here. For below I used my server's name from azure then .database.windows.net Is this the correct way to go about this? Here is my code: #!/usr/bin/python import MySQLdb conn = MySQLdb.connect(host="<servername