hhh
hhh

Reputation: 52860

Which DB driver to use DbVisualiser with Azure SQL?

I have earlier used Microsoft SQL Server Management Studio here with Azure SQL here but I want to try DbVis (a platform independent alternative). I am trying DbVis in OSX. I could find JDBC driver for SQL Server here but not sure whether this required to use DbVis with Azure SQL in OSX.

Which driver do I need to select to connect to the Azure SQL in DbVis?

enter image description here

enter image description here

Trial 1. Error with admin credentials

The settings are

  • Server name myDB.database.windows.net as Database URL
  • Azure SQL admin as Database userid
  • Azure SQL password as Database Password

by which the error such that

An error occurred while establishing the connection:
The selected Driver cannot handle the specified Database URL.
The most common reason for this error is that the database URL
contains a syntax error preventing the driver from accepting it.
The error also occurs when trying to connect to a database
with the wrong driver. Correct this and try again.

enter image description here

Potentially related

  1. Connecting to Azure SQL in DB Vis under Ubuntu here (Q&A thread)

  2. Connect to Azure Management Data in Db Vis here (some article)

  3. Ticket in Db Vis asking for instructions to connect to Azure SQL dbs in Db Vis here.

Upvotes: 2

Views: 2191

Answers (2)

Hello
Hello

Reputation: 632

I have no issue with DBVisualizer/jTDS driver though. enter image description hereenter image description here

From what i see, the first error simply indicates you have error in your connection string, i'd suggest you open Azure Management Portal and copy the corresponding jdbc connection string from there. enter image description here The second error indicates you cannot ping server in database URL mode, switch to server info mode and you are good to go then.

Upvotes: 1

hhh
hhh

Reputation: 52860

According to this here, Azure is not officially supported in Db Vis:

Note that Azure is not an officially supported Database in DbVisualizer. Having said that we do have customers running DbVisualizer against Azure.

You can connect using the Jtds bundled driver or the bundled SQL Server (Microsoft) driver.

You might need to connect using SSH as described in http://confluence.dbvis.com/display/UG95/Using+an+SSH+Tunnel

where the op has already tried the JTDS driver but apparently it is somehow different to JTDS bundled driver? This is being further discussed with the support.

It is not clear here why the SSH tunneling is required here.

Upvotes: 0

Related Questions