I trying connect to mysql
db from VM
, with python
driver pymssql
.
_connection = mysql.connect(host="xxxxxx.database.windows.net", user='xxxxxx@xxxxxx',
password='xxxxx', database='xxxxxx')
But i get exeption like this
File "pymssql.pyx", line 641, in pymssql.connect (pymssql.c:10824) pymssql.OperationalError: (20002, b'DB-Lib error message 20002, severity 9:\nAdaptive Server connection failed (my-xxxxx.database.windows.net:1433)\n')
When I connecting to this database from my local pc all good.
P.S.
I opened all ports for all protocols on my VM