Hello
I haven't come across this problem in this forum and hence am posting it (I hope I didnt miss it). Anyways, my ISP's php-mySQL serves most of my database and web data. There is one particular table that I need to access - a "mdb" file from my in-house server. It does not have a domain but just an IP. In order to test the php script I created a database on my test machine, created a DSN and I got the desired result. Here is the script:
....
$connection = odbc_connect('p1', 'root', '');
$sql = odbc_exec($connection, "select * from availableInv order by ItemCode");
.....
But when I changed the connection to the remote server and include its login and password, I get this warning
Warning: odbc_connect(): SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in c:\inetpub\wwwroot\PBI\testAccess.php on line 10
Can someone help me out on this please? It is possible at all to connect to another physical server? If yes, how do I go about doing it? Thanks