Created
April 19, 2017 07:59
-
-
Save salipro4ever/5184ddd44124ad2f1fa0a0f63da9c680 to your computer and use it in GitHub Desktop.
FUELPHP - bug sqlsrv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQLSTATE[42000]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]'NAMES' is not a recognized SET option. | |
| --------------- | |
| 'default' => array( | |
| 'type' => 'pdo', | |
| 'connection' => array( | |
| 'dsn' => 'sqlsrv:Server=localhost;Database=HOURGLASS_DEV', | |
| 'username' => 'sa', | |
| 'password' => '123456' | |
| ), | |
| 'identifier' => '' | |
| ), | |
| => sử dụng type "sqlsrv", hoac "dblib" | |
| Database_Sqlsrv_Connection <= BUG | |
| if (php_uname('s') !== 'Windows') | |
| => | |
| if (strpos(php_uname('s'),'Windows') === false) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment