Welcome Guest, Not a member yet? Register   Sign In
MSSQL SERVER remote connection
#1

Hello CodeIgniter Community.

I am having a challenge in connecting to the database.

So here is my scenario.

My client has an existing database. It is a MS SQL Server database. It is a local database. 

Now my project is to create a web app to connect to that database. The web apps purpose is to show reports to the user. 

Do you have any idea how can I connect from cpanel? 

So the connection would be mysql (online) to ms sql server (local intranet). Or can I connect directly to ms sql server? 

Do you have any idea or suggestions how to implement this? Thanks! Any suggestion would be appreciated! [Image: smile.png]
Reply
#2

(This post was last modified: 03-17-2021, 06:43 AM by php_rocs.)

@payusice,

We need more information. What version of CI are you using? Also, CI connects directly to the DB (assuming it is configured correctly).
CI4 (https://codeigniter.com/user_guide/database/index.html)
CI3 (https://codeigniter.com/userguide3/datab...t=database).
Reply




Theme © iAndrew 2016 - Forum software by © MyBB