Welcome Guest, Not a member yet? Register   Sign In
SQL Connection
#1
Smile 

Hai, i like using CodeIgniter, because is good practice for code, but now i stack with error SQL SERVER Connection using "sqlsrv" driver in CI, the error look like this "Unable to connect to your database server using the provided settings."

my specification :
PHP : v 5.6.31
CI : v 3

thanks for your attention and answer
Reply
#2

Have you installed sqlsrv? If so, you have the wrong settings in application\database.php

But first upgrade your server to PHP 7.
After that, install the drivers. Skip step 1 if you already have a SQL Server.
https://github.com/Microsoft/msphpsql/#get-started
Reply
#3

Hello,
Connect to a SQL Server instance
1.Start SQL Server Management Studio. The first time you run SSMS, the Connect to Server window opens.
2.In the Connect to Server window, follow the list below: For Server type, select Database Engine (usually the default option).
3.After you've completed all the fields, select Connect.
Regards,
Mika Hawkins
Mika Hawkinsss
Reply




Theme © iAndrew 2016 - Forum software by © MyBB