tp 5.0 rc1版(2016-02-16 1:54 版)
thinkphp\library\think\db\driver\Sqlsrv.php
39行
$dsn = 'sqlsrv:dbname=' . $config['database'] . ';Server=' . $config['hostname'];老是链接不上SQLSERVER,更改为
$dsn = 'sqlsrv:Database=' . $config['database'] . ';Server=' . $config['hostname'];即可,请官方看一下,RC1版上是否修正一下,多谢!