question

Upvotes
Accepted
5 1 0 4

Hi all, I am trying to connect python by pyodbc to sql data base, but I am getting this error: InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')

pythondatadatastream-apidsws-apierrorsql
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
39.2k 75 11 27

@GABRIEL.ESQUIVEL
This forum is dedicated to software developers utilizing Refinitiv APIs. It's not a place where you can ask generic programming questions or get help with 3rd party products.
For Help with Microsoft products, please use appropriate Microsoft resources.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
39.2k 75 11 27

@GABRIEL.ESQUIVEL
Which SQL database are you trying to connect to? It doesn't look like you're utilizing any Refinitiv products or APIs in this instance. If I'm wrong and you are indeed using some Refinitiv product or API, then could you specify which product or API you're using? The code sample including the call that returns the error you reported would be very useful as well.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
5 1 0 4

SSMS data base. Nop I am not utilizing any refinitiv product.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea