I have deployed the Laravel web application on the Linux A2 shared hosting server. There is I want to use sqlsrv driver to connect the MSSQL database.
The MSSQL database is on the IIS web server. I had enabled pdo_sqlsrv, pdo_odbc, odbc, and sqlsrv extension in my server, opened the 1433 port to communicate, and my Linux server is whitelisted at the IIS web server too. But, when I try to connect it gives me the below error.
Code: -49
Error: 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.
I was gone through many solutions but no success.
Related
I have a .NET 5.0 API running in Kubernetes.
When the API attempts to connect to a SQL Server database, schannel on the DB server logs this error:
An TLS 1.2 connection request was received from a remote client
application, but none of the cipher suites supported by the client
application are supported by the server. The SSL connection request
has failed.
The same API running in k8s can connect to other SQL Server DBs just fine. Also, if I run the API locally in Visual Studio, it can connect to the DB fine.
How do I resolve this? I got a list of the cipher suites the DB server is using by looking at SSL Configuration Settings in Local Group Policy Editor. How do I see what the API is using for cipher suites?
I have hosted my tomcat application built in Spring Boot to RedHat server. And my SQL Server is installed on Windows Server 2012r2. While running application, I am getting following error:
27-May-2019 00:00:04.420 SEVERE [pool-47-thread-1]
org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create
initial connections of pool.
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not
establish a secure connection to SQL Server by using Secure Sockets
Layer (SSL) encryption. Error: "Server chose TLSv1, but that protocol
version is not enabled or not supported by the client.". .......
I tried installing self signed certificate in RedHat, but no luck.
I'm attempting to connect to Azure SQL Server 2017 from Debian 8 or 9. Our SQL Server instance is connected to our Active Directory requiring Active Directory Authentication.
Thus far, I've tried connecting using the Microsoft ODBC Driver in conjunction with unixODBC to no avail.
Recent attempts with FreeTDS haven't worked well either. Errors vary but typically result in server timeouts or being unable to connect to the server altogether.
Are there recommended best practices for making this connection with these constraints?
Here is the recommended connection string for the database in question:
Driver={ODBC Driver 13 for SQL Server};Server=tcp:xxxx.windows.net,1433;Database=xxxx;Uid={your_user_name};Pwd={your_password_here};Encrypt=yes;TrustServerCertificate=no;Connection Timeout=30;Authentication=ActiveDirectoryPassword
Primarily, I'm unsure about how to configure odbc.ini,odbcinst.ini and freetds.conf to accommodate this connection string.
Details:
FreeTDS Version = 7.4
FreeTDS Protocol = 1.00.92
MS ODBC Driver Version = 13.1
I am trying to connect to one of my MS SQL Server databases with the Filemaker Pro ODBC driver. I am using the database service. However, whenever I try to connect to my database it sends either an error that it can't connect to the datasource or an error that the username or password is incorrect. I know the credentials I am using are correct because I can connect to my Jetbrains IDE and to the mssql library in node.js with the same credentials. Does anyone know what the problem could be? My database is running on Azure. Do any setting need to be changed in the driver based on using Azure that could cause the problem?
I have installed Bitnami DreamFactory WAMP Stack on windows
server 2008 R2. I am unable to connect to a MS SQL DB through a service
in Dream Factory. The error message I get is “Failed to launch service
“servicename”: CDbConnection failed to open the DB connection”
I have tried everything that is mentioned over here: http://community.dreamfactory.com/t/connecting-to-ms-sql-server/163
Eagerly awaiting help.
Native ODBC Driver 11 for SQL Server must be installed for the PHP extensions to connect MS SQL DB.
I recommend referring to the DreamFactory documentation for all drivers and modules necessary in Windows for SQL Server connections. Depending on your environment, you may need to install more than just the ODBC Driver 11. Bitnami cannot package and distribute the Microsoft drivers.