Hello,
Any assistance on this issue would be appreciated. I'm trying to get PHP to connect/Query a Sybase database on a remote server. I have FreeTDS installed properly (I hope) and a small PHP connect page to test that it works. When I try to get a connection ID this is the error returned:
Warning: mssql_connect() [function.mssql-connect]: message: ASA Error -75: Request to start/stop database denied (severity 14)in /usr/local/apache2/htdocs/inv/cisco.php on line 2
This is the code for the page (note: "snipped" means removed for security purposes):
<?php
$link = mssql_connect('CiscoWorks', 'snipped', 'snipped')
or die("Could not connect !");
echo "Connected successfully";
//mssql_close($link);
?>
This is the freetds.conf entry:
[CiscoWorks]
host = snipped
port = 43442
tds version = 5.0
Please note that when I try to connect using the same authentication information from my Win2K laptop using the SQL Anywhere 9 Interactive SQL client, I am able to connect successfully.
Any suggestions? I will gladly provide additional config information if that would help.
Thanks