connection SQL Server |
I have a problem connecting to the server SQL SERVER, with pdo and without codeigniter it works perfectly but when we use codeigniter version4.1.9 the error: Main connection [SQLSRV]: Login timeout expired TCP Provider: Error code 0x2749 appers.
Database SQL Server version 2012 ODBC version 17 Php version 7.4.3 Codeigniter 4.1.9 (03-24-2022, 01:47 PM)Engenharia 2 Wrote: I have a problem connecting to the server SQL SERVER, with pdo and without codeigniter it works perfectly but when we use codeigniter version4.1.9 the error: Main connection [SQLSRV]: Login timeout expired TCP Provider: Error code 0x2749 appers.I have no problems to connect to a mssqlserver the free one. I use the settings as below: database.default.hostname = 192.36.247.5\SQLEXPRESS You see I use the direct ip-adres of the server database.default.database = Your database name database.default.username = your username database.default.password = your password database.default.DBDriver = SQLSRV database.default.port = 1433 database.default.DBPrefix =
My connection is as shown in the image. with the same data I normally connect to the database through heidiSQL
|
Welcome Guest, Not a member yet? Register Sign In |