win7 OBDC MSSQL

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Andreia
Forum Newbie
Posts: 1
Joined: Fri Aug 26, 2011 10:53 am

win7 OBDC MSSQL

Post by Andreia »

Hi there,

I'm working on a project already started, and using WAMP+WINDOWS7+SQL2008R2,

At this point it's connecting to a MSSQL DATABSE LIKE THIS:

$dns = "TempGes2";
$con = odbc_connect($dns, $user, $pwd);

This works fine, but i can't find where is the TempGes2 configured, it isn't in the odbcad32.exe,

Any ideas, i need to point this to another DATABASE,

Thank you in advance
User avatar
getmizanur
Forum Commoner
Posts: 71
Joined: Sun Sep 06, 2009 12:28 pm

Re: win7 OBDC MSSQL

Post by getmizanur »

i'm a linux man, from my days of windows there should ODBC administrator tool in control panel. you select your driver from there and give it the name TempGes2
Post Reply