CodeIgniter Forums
MSSQL Working in 4.1.8 but errors in 4.4.5 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: MSSQL Working in 4.1.8 but errors in 4.4.5 (/showthread.php?tid=90141)



MSSQL Working in 4.1.8 but errors in 4.4.5 - codedecks - 02-15-2024

Greetings,

I just download the latest version of CodeIgniter 4.4.5, I'm using the code to a working application on CodeIgniter ver. 4.1.8. I'm getting the following error:

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

Any suggestion on how to resolve this?

Thank you in advance for your help!


RE: MSSQL Working in 4.1.8 but errors in 4.4.5 - kenjis - 02-15-2024

This?
https://github.com/codeigniter4/CodeIgniter4/pull/7624


RE: MSSQL Working in 4.1.8 but errors in 4.4.5 - codedecks - 02-15-2024

Thank you for pointing me in the right direction.