我已经完成了将 mssql 与 xampp localhost 连接的所有步骤。当我在 localhost 上运行代码时遇到如下错误:
错误号:42S02/208
[Microsoft][ODBC Driver 13 for SQL Server][SQL Server]对象名称“ci_sessions”无效。
从“ci_sessions”中选择“数据”,其中“id”='ca4680ccaa1d99c9a97e4a4a8d639f7f2b9e374e'
来自评论
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => 'MSSQLSERVER',
'username' => '',
'password' => '',
'database' => 'travell',
'dbdriver' => 'sqlsrv',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
如何解决这个问题?