Skip to content Skip to sidebar Skip to footer

Issues Connecting To Microsoft Sql From Php

I am building a website using PHP on Somee Server(somee.com) and Microsoft SQL. Now I have a problem making connection between php and SQL. Here is my connection code:

Solution 1:

If you say you have the correct username / pass, perhaps the server (some.com) is actively blocking connections to it.

Try using below steps -

  1. On SQL Server (of SOMEE) in Security, make sure that Server Authentication is set to SQL Server and Windows Authentication Mode. This allows SQL server to authenticate username and passwords.

  2. Configure Server firewall to allow connections to SQL server.

Post a Comment for "Issues Connecting To Microsoft Sql From Php"