Cake php 2.8.6 と sqlserver 2016 で quickapp -cms と croogo- cms の両方をセットアップしようとしました。mysql では問題なく動作しますが、sql server では失敗しました。次のエラーが発生します。
cake php 2.8.6
php 5.6.23
Ms sql server
Microsoft SQL Server Management Studio 13.0.15700.28
Microsoft Analysis Services Client Tools 13.0.1700.68
Microsoft Data Access Components (MDAC) 6.2.9200.16384
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.10.9200.17607
Microsoft .NET Framework 4.0.30319.42000
Operating System 6.2.9200
====================================================================================
Unable to connect to database, please check your information. Details:
Connection to database could not be established: SQLSTATE[IMSSP]: An invalid encoding was specified for SQLSRV_ATTR_ENCODING.
================================================================================
私のデータベース構成:
'datasource' => 'Database/Sqlserver',
'persistent' => false,
'host' => 'COLLONMADE\SQLEXPRESS',
'login' => 'sa',
'password' => 'root',
'database' => 'cro',
'prefix' => '',
'encoding' => 'utf8',