I am new to Talend.
I have installed my MapR + Talend sandbox. Now I may want to try to connect my local MS SQL Server to the Talend in the sandbox. Unfortunately when I try to create the db connection, it showed error like this:
I downloaded the jdbc driver in my local windows and ubuntu. Can someone tell me how to install the driver and where should I put/install the jdbc driver in both windows and ubuntu?
Related
I am connecting to SQL server using the library pyodbc. I downloaded the driver locally using the following https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16. All my code now works and I want to run it on azure. Is there an azure pipeline task to download the same driver am using locally? do I include it in a script?
If you use Microsoft-hosted agents to run the pipeline, normally you do not need an extra step to install the ODBC Driver:
On windows-2022 (windows-latest) agent, it has the component "Microsoft.VisualStudio.Component.MSODBC.SQL v17.2.32408.312" installed.
On windows-2019 agent, it has the component "Microsoft.VisualStudio.Component.MSODBC.SQL v16.0.28625.61" installed.
If you use self-hosted agent which installed on your local machine or VM, you can login to the machine, then manually download and install the required ODBC Driver version.
Are you planning to run on a hosted agent? If so it should already have the sql server ODBC driver installed. You can confirm this by configuring a new pipeline on a hosted agent and running the following in a powershell task
Get-OdbcDriver
I have this system configuration
Windows Server 2012 - 64 bit (Amazon EC2)
SQL Server 2012 - (Amazon RDS)
On EC2 I am trying to run a utility which will import the data from an excel to SQL Server(RDS) through SSMS.
I was getting an error "OLEDB 12.0 was not registered", I installed ACE driver on EC2. It didn't work.
The Problem which I think is since my SQL server is on different machine i.e RDS. My installed driver cannot add excel importing capabilities to it(I am using openrowset).
I cannot install the ACE driver on RDS since it's just a database.
Can anyone help me in getting a solution to it? Thanks in Advance.
If I do it on a machine which is hosting SQL server and install ACE Driver on it. It works like a charm.
The Problem was amazon RDS is just a database. So ACE driver service was running on EC2 but not on RDS. In order to work the flow of importing the ace driver should interact with services running on RDS. So I figured out two solutions for it:
1.) Move my database on EC2.
2.) Run this import process on separate machine, Generate Scripts and run through ssms on EC2 to get it stored in RDS.
i have zeppelin running on my system.. details are
ubuntu 14.04 64bit
Apache Zeppelin 0.6.0
java version "1.7.0_111"
Apache Maven 3.3.9
-Pspark-2.0 -Dspark.version=1.5.2
i have seen many interpreters with sql but i didnot get which interpreter to go with.
all like ignite,jdbc,live,psql,spark interpreters are not providing proper url, username, password, database to connect my MS sql server.
i read some posts and assume that there is some interpreter which connects zeppelin-sql server.
Apache zeppelin tutorial, error "sql interpreter not found" this also didnt work.
could someone please guide me to select the interpreter if exist, if not how to add this interpreter?
thanks in advance
download JDBC driver for sql server provided by MS
exact sqljdbc42.jar and save it to local, e.g. /zeppelin/3rd-lib/sqljdbc42.jar
create new interpreter with MS SQLServer Driver
use it in the notebook!
Apache Zeppelin doesn't come with a specific interpreter for SQL Server. By default Apache Zeppelin is shipped with a JDBC interpreter which means that you can use that to connect to SQL Server, provided that you have downloaded and installed the Microsoft SQL Server JDBC Driver.
To overcome the limitations of the generic JDBC interpreter I've created a specific Zeppelin Interpreter for SQL Server. You can find more details here:
https://medium.com/#mauridb/apache-zeppelin-sql-server-sql-azure-and-sql-azure-dw-1706697bb54#.wuk7dte00
You can use it to connect to SQL Server, Azure SQL and Azure DW
Is it possible to create MS SQL Server connections in the standalone.xml file that use integrated (Windows) authentication to connect to the server from JBoss when running on Linux?
I have managed to do it with JBoss running on a Windows machine, but it requires the sqljdbc_auth.dll to be in the system path. That won't work on Linux.
Seems it can be done using the JTDS driver with query string:
jdbc:jtds:sqlserver://SQLSERVER:1433/DBNAME;useNTLMv2=true;domain=DOMAIN;user=USER;password=PASSWORD;
I am facing a peculiar problem.
Application Details
Java : Jre 1.6
Db: MS SQL 2008 R2 (On Vmware)
OS: Windows 2008 R2 (On Vmware)
Problem:
Whenever i am trying to connect to the database using sqljdbc4.jar it takes almost 5 seconds to make a connection.
But if i use jtds driver it connects instantly.
Now if i try to connect to a similar database hosted on single physical server it connects instantly using both the drivers.
Please help me if any body has faced this issue.
Sorry.. Had got wrong information about the connection driver being used. Configured the application with sqljdbc4.jar and the issue was resolved.