我刚刚下载了最新版本的CodeIgniter 4.4.5。我在使用 CodeIgniter 版本的工作应用程序上使用相同的代码。 4.1.8.我收到以下错误:
CodeIgniter\Database\Exceptions\DatabaseException
Unable to connect to the database.
Main connection [sqlsrv]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: The wait operation timed out.
SQLSTATE: 08001, code: 258
[Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired SQLSTATE: HYT00, code: 0
[Microsoft][ODBC Driver 17 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. SQLSTATE: 08001, code: 258
关于如何解决这个问题有什么建议吗?
提前感谢您的帮助!