Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Data source name not found and no default driver specified

I am trying to connect to list the servers on my network using osql.exe -L. Instead of a list of servers, however, I get the following error:

[ODBC Driver Manager] Data source name not found and no default driver specified

I'm not sure what's causing this problem - any pointers leading in the right direction will be helpful. Thanks so much!

like image 579
chama Avatar asked Feb 20 '26 16:02

chama


1 Answers

The DSN is case sensitive, make sure your putting in the right name. It should match whatever you have in your odbc.ini file (unix) or in the "ODBC Data Source Administrator" (windows).

like image 72
Winder Avatar answered Feb 23 '26 09:02

Winder