Answer the question
In order to leave comments, you need to log in
No connection to MSSQL database from PHP?
I run the script on the server ( https://infoboxcloud.ru/community/blog/windowshost... ), for a connection with MSSQL on a remote rdp with win 2003, and it gives me the following:
Connection failed, error: Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -49 [code] => -49 [2] => This extension requires the Microsoft ODBC Driver for SQL Server Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712 [message] => This extension requires the Microsoft ODBC Driver for SQL Server.Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712 ) )
Answer the question
In order to leave comments, you need to log in
I put the driver on the server where puff, a new error:
Hello
Connection could not be established.
Server is not found or accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. See SQL Server Books Online for more information. [message] => [unixODBC][Microsoft][ODBC Driver 17 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. See SQL Server Books Online for more information. ) ) [unixODBC][Microsoft][ODBC Driver 17 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. See SQL Server Books Online for more information. ) ) [unixODBC][Microsoft][ODBC Driver 17 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. See SQL Server Books Online for more information. ) )
A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question