--
You received this message because you are subscribed to the Google Groups "pymssql" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pymssql+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/4018ead1-1f39-4f05-a58b-7f5992a3e1e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/CAKnxV8ODqBiUte6MGG99KqDKb8F85hRueH8Hc3EpVGKHYJ30cA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/CAJekvfoaY%2Bm5tOvSrEJeb_tAHqnZoG%2BkyReFm55LTumv2DZD_A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/CAKnxV8M7b%2BxXiTByMArra_hQpe9Gt1mqA8D%3D_48rLFufNQpscQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/CAJekvfrnhwwoCBLP%3DRGFpt%2BtBWK9VFSmyhTNHNJynXJJiSowkw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/CAKnxV8Oybn4LtZ3t3XCbqPyrb77OH74X%2BSv8pvtrnKH0aps4sw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/CAJekvfp7pNPX%2BqytOPzw-Rru_XPe%2BwvbzzQsGiZLdcJ4AA1PZA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "pymssql" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pymssql+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/99cbc2da-51a9-45d5-90ed-3a69b929b13a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
USE [master]
GO
DECLARE @DynamicportNo NVARCHAR(10);
DECLARE @StaticportNo NVARCHAR(10);
DECLARE @ConnectionportNo INT; -- Look for the port being used in the server's registry
EXEC xp_instance_regread @rootkey = 'HKEY_LOCAL_MACHINE'
,@key ='Software\Microsoft\Microsoft SQL Server\MSSQLServer\SuperSocketNetLib\Tcp\IpAll'
,@value_name = 'TcpPort'
,@value = @StaticportNo OUTPUT
SELECT [PortsUsedByThisConnection] = @ConnectionportNo
,[ServerStaticPortNumber] = @StaticportNo
,[ServerDynamicPortNumber] = @DynamicportNo
GO
2. After providing the port number see what error you get.
3. If issue still persists, try building pymssql from source.
pip install --no-binary pymssql pymssql
4. Please publish your findings so that it might help others!
@ Gord,Yes, I am on a windows machine. I did do a pip install.Uday
On Sun, May 26, 2019 at 11:57 AM Gord Thompson <gordon....@gmail.com> wrote:
@Uday - Are you working on a Windows machine? Did you install pymssql using ...--pip install pymssql... ?
On Saturday, May 25, 2019 at 3:09:36 PM UTC-6, Uday Guntupalli wrote:All,
I am trying to connect to an Azure database using pymssql.import pymssqlconn = pymssql.connect(server='xxxxx.database.windows.net',user='xxxxx@xxxx',password='xxxx',database='xxxx')No matter how many different ways i try, I am unable to even connect to the database. I am following the exact example POC shown here:Any help is greatly appreciated.BestUday
You received this message because you are subscribed to the Google Groups "pymssql" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pym...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pymssql/99cbc2da-51a9-45d5-90ed-3a69b929b13a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.