[freetds] ASA Error -83 when connecting from PHP

James K. Lowden jklowden at schemamania.org
Thu Apr 8 00:38:31 EDT 2004


On Wed, 07 Apr 2004, "Daniel L. Eriksson" <daniel at edeinternet.com> wrote:
> I have installed FreeTDS 0.62, compiled with PHP under Linux Redhat 9. 
> SyBase server is ASA 8.0.
> 
> I send this command:
> sybase_connect("192.168.0.101:3030","DBA","SQL");
> 
> And get this error:
> Sybase message: ASA Error -83: Specified database not found (severity 
> 16)
> 
> I tried 'telnet 192.168.0.101 3030', which works fine. I'm also able to 
> connect through ODBC to the same IP and port w/o problems.

tsql works?  If not, what does the TDSDUMP log show?  

ASA requires that the dataserver name in freetds.conf be your database
name.  I'm not sure why, or if this is relevant to your present
difficulty.  

http://www.freetds.org/userguide/freetdsconf.htm#FTN.AEN763

HTH.  

--jkl



More information about the FreeTDS mailing list