Connection to Mongo Database from Microsoft SQL Server Management Studio - sql

My goal is to connect to a Mongo database from Microsoft SQL Server Management Studio (SSMS) 2014 and be able to perform simple SQL queries.
I'm using Linked Servers connections through ODBC drivers.
I've tried the following drivers for Mongo:
Simba Mongo ODBC driver I stuck with error "Required conversion is not supported". But at least I was able to connect to Mongo server and see list of Mongo tables/collections.
Progress Mongo ODBC driver I stuck with error "Insufficient information to connect to the data source" (While test from ODBC Administrator is successful).
I would really appreciate any help about establishing connection between Mongo and SSMS.
Maybe you can recommend some specific ODBC driver for Mongo?

Related

Fail to add ODBC Data Source to a SQL Server

I use an online database which I am able to connect through altium or dbVisulizer. I want to add an instance to that database using ODBC Data source in windows, but it fails. The steps I followed are pictured below:
Any idea why is this happening?
Additional information:
Altium use the following information: ConnectionString = Provider=SQLNCLI11.1; User ID=alib_WFC5AKIMTQCL; Password="*********"; Initial Catalog=altium_library; Data Source=db.altiumlibrary.com,1433; Initial File Name=""; Server SPN=""
After connecting through dbVisulizer I have the following information: The server version is: Microsoft SQL Server 14.00.2027 Microsoft JDBC Driver 9.2 for SQL Server 9.2.1.0
I don't believe this is possible. However, in most cases, if you can connect to sql server via jdbc drivers, then you can connect to the same sql server with odbc.
Access does not support jdbc, and in most cases that driver is Java, and thus you would be talking about a java enabled client side software.
For example, I have a instance of SQL server. I direct connect from Access over the network to SQL server - using ODBC drivers.
However, my android phone? Well, I use jdbc type 4 drivers, and thus my android phone can also direct connect to that same instance of sql server on the network.
However, there is no support for Access to connect to SQL server using jdbc drivers, but then again, if that is SQL server in question, then both jdbc, and odbc should be able to connect to that running instance of SQL server.
Now, you might be able to setup and run what is called a jdbc "bridge" connection. This would require that you install + setup a bridge on your computer. (and that bridge runs like a mini web server - it is NOT just a driver, but a web like "service"/"server" that you have to have running. In fact, it quite much the reverse that such a bridge is for. So, for example, if you running that bridge, then it would be possible for jdbc drivers to in fact connect to the access database (this would be a type 2 (or 3???) jdbc driver/connection.
So, to be clear, a jdbc type 4 connection is NOT possible to Access, since they require a so called "socket" (tc/ip) connection. Access is file based, so you don't ever connect to a access database, but you OPEN IT as a file. However, as noted, you are talking about Access connecting to the server anyway.
However, Access does not support, nor use nor have any means to use and consume a jdbc driver. But then again, it stands to reason that any database from MySQL, Oracle, PostgrSQL, SQL server, and more ALL HAVE ODBC drivers.
So it begs the question, why a ODBC driver would not be used here?
But, as noted, since Access supports ODBC drivers, and not jdbc drivers, then the answer is no - Access cannot use such drivers.

Connecting to SQL Server via DBeaver instead of SQL Server Management Studio

I am trying to connect to SQL Server using Windows authentication in DBeaver. Although I can easily connect via SQL Server Management Studio, DBeaver is generating a connection error:
No sqljdbc auth in java.library.path
Not sure why unlike DBeaver, SQL Server Management Studio can connect without any problem, but is there any instruction on how to ensure right JDBC driver (I think 32 bit) is installed and configured so I can connect via DBeaver?
Version 6.3.5.202002151353

Spring Tool Suite - Setting up Database Connection to MS SQL Server 2012

I am trying to create a new connection profile from within the Database Development perspective in Spring Tool Suite version 3.7.0. I need to connect to SQL Server 2012. In the dialog box where I need to specify the driver and connection details, I do not have an option of adding a driver jar and connection URL for MS Sql server 2012. The list goes only upto sql server 2008. Any thoughts on how I could connect to sql server 2012?
Thanks!

SSIS Script Task Connect to DB2/MVS

I have a script task that needs to connect to both DB2 on LUW and DB2 on Z/OS. My understanding is that within the script task I should use an ADO.NET Connection manager.
This I have done for the DB2 on LUW connection using the Microsoft OLE DB Provider for DB2 and can connect just fine. Using that as a guide I am trying to create a connection manager for DB2 mainframe, almost identical except for server name / port number and DBMS platform properties. I've tried every which way to get a connection to Db2 on Z/OS and wind up with an error "Test connection failed because of an error in initializing provider. The request for the host resource failed."
I can define an OLEDB connection manager and connect via its "test connection" but cannot use in script task.
Any thoughtss most welcome,
Phil Jackson

Connecting to SQL Azure via Management Studio

I have a SQL Azure database. I can successfully connect to the database via the Azure management portal. In addition, I can successfully connect to the database from my application using the Entity Framework. Unfortunately, I cannot connect to the database via SQL Server Management Studio.
My thought was that SQL Server Management Studio could not connect to the 'master' database. For that reason, it would fail. So, I tried adding the database name via the "Connect to Database" field on the "Connection Properties" tab. Yet, I get the same error. The error looks like the following:
TITLE: Connect to Server
------------------------------
Cannot connect to tcp:{serverName}.database.windows.net,1433.
------------------------------
ADDITIONAL INFORMATION:
Login failed for user '{username}'.
This session has been assigned a tracing ID of '{id}'. Provide this tracing ID to customer support when you need assistance. (Microsoft SQL Server, Error: 18456)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476
What am I doing incorrectly here? This "server" has 2 SQL Azure databases on it that I'd like to access via management studio. How do I add users so that i can login an manage those two databases? Is there a way to even manage users on a SQL Azure database? I can't seem to figure it out.
Thank you for your help.
What version of SQL Enterprise Management Studio are you using? You need at least SQL Enterprise Management Studio 2008 R2 or later. (Might as well get the latest: http://www.microsoft.com/en-us/download/details.aspx?id=29062)
Assuming you've got that, you'd enter it like so in the Connect to Server dialog:
Server type: Database Engine
Server name: tcp:servername.database.windows.net
Authentication: SQL Server
Login: username#servername
Password: password
That should do it -- the other thing to check are the firewall restrictions. You'd be seeing a different error ("client IP address is not allowed access") but it's good to verify that, anyway.