[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Connecting to MS Sql Server from php/apache



On 02/12/12 08:06, Alan Chandler wrote:

Failed with message: SQLSTATE[HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9)


I managed to fix this myself.  There were two problems

1) Password was one character wrong.
2) The connection string should be
dblib:host=roodb;dbname=PAS_Live

That is the host= piece should refer to the name in the /etc/freetds/freetds.conf configuration



--
Alan Chandler
http://www.chandlerfamily.org.uk


Reply to: