Welcome Guest, Not a member yet? Register   Sign In
SQL Server with custom port
#1

Using SQL Server with default port (1433) is work well. But when we use custom port, the .env or config fieldĀ database.nls.port = 5000, its not given any effect, didn't work.
So, I tried to change connection syntax inside Connection.php core class CodeIgniter\Database\SQLSRV\Connection.

My questions:
1. Is this a bug ? because fieldĀ database.nls.port (.env) or $default['port'] (config) doesn't work if we use custom port (especially for SQLSRV)
2. How do we override this Connection class. (Yes, I already read in the doc, create our own class, and register in autoload, but it didn't work).

Thank you.
Reply


Messages In This Thread
SQL Server with custom port - by ilyani - 05-23-2022, 08:19 PM
RE: SQL Server with custom port - by RalfK - 05-24-2022, 12:17 PM
RE: SQL Server with custom port - by ilyani - 05-24-2022, 06:41 PM
RE: SQL Server with custom port - by iRedds - 05-26-2022, 06:12 PM
RE: SQL Server with custom port - by kenjis - 05-26-2022, 06:24 PM
RE: SQL Server with custom port - by iRedds - 05-26-2022, 06:32 PM
RE: SQL Server with custom port - by kenjis - 05-27-2022, 07:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB