Answer the question
In order to leave comments, you need to log in
PHP + YII + DBLIB + MSSQL + CentOS = SQLSTATE[HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9) How to fix?
The actual error is CDbConnection failed to open the DB connection: SQLSTATE[HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9) when connecting to the database.
'db'=>array(
'connectionString' =>"dblib:dbname=JobBase;host=egServer70",
'charset' => 'utf8',
'username' => 'test',
'password' => 'test' ,
'enableProfiling' => true,
'enableParamLogging' => true,
),
[egServer70]
host=server.ru
port=1433
tds version=8.0
client charset=UTF-8
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question