Connect to a ODBC DB
Posted: Fri Dec 19, 2003 4:31 am
Hi all,
I've been looking on the web, and I'm completely at a blank, so i thought i'd ask you guys if you could help me!
Basically I have php 4.3.4 running apache 2 on a redhat system.
All I want to do is connect to a MS SQL server, but I don't know how to do it.
Warning: odbc_connect(): SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect
I keep getting that error, I think it might be due to setting up a DSN, but I'm not sure how to go about that in linux.
If anyone can point me in the right direction it would be very much appreciated!
RedRasper
I've been looking on the web, and I'm completely at a blank, so i thought i'd ask you guys if you could help me!
Basically I have php 4.3.4 running apache 2 on a redhat system.
All I want to do is connect to a MS SQL server, but I don't know how to do it.
Warning: odbc_connect(): SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect
I keep getting that error, I think it might be due to setting up a DSN, but I'm not sure how to go about that in linux.
If anyone can point me in the right direction it would be very much appreciated!
RedRasper