i am new to lampp. my sql server 2000 is running in windows xp sp2 where the ip of this machine is 192.168.0.251 and i hav lampp in Fedora core 6. i configured the freetds.conf file. where i changed the host name of the sql server 2000 to 192.168.0.251 but when i run this code i get this error.
- Code: Select all
mssql_connect('192.168.0.251', username, pwd);
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 192.168.0.36 in /opt/lampp/htdocs/mssqltest.php on line 2
can any one sort it out this issue.