
October 10th, 2012, 08:37 PM
|
 |
Contributing User
|
|
|
|
Stupid!
I changed it to:
PHP Code:
$link = mssql_connect('10.1.1.16:1433', 'ID', 'password');
and I receive a
PHP Code:
PHP Warning: mssql_connect(): Unable to connect to server: 10.1.1.16:1433 in /home/epanagio/play/remote_connect.php on line 2
in the php error log. I have installed something called freetds that makes the connection "easier." In the /usr/ports/databases/freetds/work/freetds-0.64/freetds.conf I have specified: Quote: # A typical Microsoft SQL Server 2000 configuration [MyServer2k] host = 10.1.1.16 port = 1433 tds version = 8.0
[MyServer2k]
host = 10.1.1.16
port = 1433
tds version = 8.0 | but it doesn't connect.
Last edited by epanagio : October 10th, 2012 at 08:45 PM.
|