|
|
|||
Home | Troubleshooting | Quick Setup | Cisco How to | Data Recovery | Forums | Blog | IT Exam Practice | Services | About Us | Chicagotech MVP | Search | Contact Us | |
|
Configuration for querying SQL database remotely
To allow querying SQL database from a website remotely, you may need to work on firewall, SQL server configuration and client settings. This example based on PHP connection test script: How to create a PHP script to test SQL connection
1. Make sure SQL TCP port 1433 (that is the SQL default port) is open. To test it, run telnet IP 1433.
2. If the client is in a domain network and the user has Windows Authentication login ID on the SQL server, enable mssql.secure_connection = On in PHP.INI.
3. If the client is located in outside out the domain network, you may have many options: 1) If the computer has joined the domain, login the domain credentials. It should work as the same 2. 2) If it is not domain computer, create SQL Server
Authentication login ID and use the ID as username in script
1.Enable the Network Access: Allow anonymous SID/Name translation security
option in Local Security Policy. To do this, follow these steps: Post your questions, comments, feedbacks and suggestions Related Topics
|
|
|
This web is provided "AS IS" with no warranties.
Copyright © 2002-2018
ChicagoTech.net,
All rights reserved. Unauthorized reproduction forbidden.