Welcome Guest, Not a member yet? Register   Sign In
Is it possible to connect to a SQL Server database?
#11

(05-29-2020, 10:06 AM)dave friend Wrote:
(05-29-2020, 09:33 AM)Juliano Santos Wrote: Thank you Dave! But the link refers to the MSSQL driver, I'm using SQLSRV on CI3, which is working perfectly. However in CI4, from what I verified it is not yet supported. I'll have to wait for the community to release a release with support for the sqlsrv drive.

Hi Juliano. The link is about porting the CI3 driver to CI4. Yes, it talks about the MSSQL driver but then the participants realize that starting with PHP v7.0. that driver was removed from PHP. The most recent effort (later in the discussion) uses the SQLSRV driver. It's apparently nearly ready but seems to have stalled again. Feel free to comment on the issue page. Maybe that will shake something loose and get the project rolling again. Smile

         Hi, it works fine in LAN but when I publish it in the web this is the error that appers..



An uncaught Exception was encountered
Type: Error
Message: Call to undefined function sqlsrv_connect()
Filename: /home/mypage/public_html/myproject/system/database/drivers/sqlsrv/sqlsrv_driver.php
Line Number: 144
Backtrace:
File: /home/mypage/public_html/myproject/application/controllers/Login.php
Line: 12
Function: __construct
File: /home/mypage/public_html/myproject/index.php
Line: 315
Function: require_once
Reply




Theme © iAndrew 2016 - Forum software by © MyBB