How to connect to AWS RedShift with Tableau desktop software? - postgresql

I want to use Tableau to retrieve data from AWS RedShift and then generate reports, I tried to use PostgreSQL driver downloaded from Tableau website, but cannot establish the connection.
Any one knows how to do it?

Just to provide an update, I believe the RedShift Connector has been released for v7 of Tableau Desktop, but is still in preview for v8. We have found it to be much easier for connecting to our RedShift cluster so far.

The generic ODBC connector also works, you get an interesting pop-up saying certain functions might not behave as expected but we have not encountered any issues using it.
Also the redshift connector for Tableau 8 is out now in release.

As stated on Tableau's blog, the Tableau connector hasn't been released yet, but you can contact your account manager to try out a preview version.
That's what my team has done, and it worked without a hitch.

It's now possible to connect Amazon Redshift with Tableau.
To connect:
Open Tableau Desktop Application and select Amazon Redshift from the list of servers to connect.
Populate the following fields in the pop-up as shown below:
where
Server: the URL to the Redshift instance
Port: the port on which it listens to
Database: the DB to connect to
(the above 3 information is available under the Cluster Database Properties section within the Configuration tab in your AWS Console.)
Username and Password: credentials authenticated to connect and query the schema and the underlying tables in above mentioned DB
Click on Sign In to allow Tableau to connect to the Amazon Redshift instance.

Related

Azure Synapse analytics connectivity with Tableau

I have created server less synapse analytics with database and table in it.
I have tried using the SQL query to view data within synapse analytics and can view it as expected but when I try to connect Tableau desktop version 2020.2.9 (as the connector is only available in version 2020.2 and above) with connector provide in tableau the connection establish successfully as I can see the list of database and tables in it but when I try to click on the table to view data below issue pop-up.
An error occurred while communicating with Azure Synapse Analytics
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database.
Error Code: 2F0F5E42
[Microsoft][ODBC SQL Server Driver][SQL Server]External table 'dbo' is not accessible because location does not exist or it is used by another process.
The table "[dbo].[Diagnosis]" does not exist.
You will have to check what type of server less synapse you are using whether a standard dedicated cluster or an On-Demand cluster. Further, you can reach to Tableau support team to check with the connectivity based on your cluster type.

Azure postgres connection to powerApps

My probleme is the postgre connector on powerApps doesnt allow to connect to an online server . Its mandatory to select a gateway and to create a gateway , but you have to do it in local (see the screenshot) ?
I create a gateway on the azure portal and it doesnt appaer on the select option in powerapps. The only gateway who appear are the one on my local computer.
How can I create a connction between powerApps to my Azure PostGre database ?
I have try to use the SQL dataBase connector which allow us to use a cloud server but that doesnt work easer because it said the server doesnt exist or isn't found .
The screenshot of Postgres connector in PowerApps
(reposting answer from MSDN Forums)
That is correct -- you need a Gateway to use the PostgreSQL connector today in PowerApps. The reason we need a Gateway is because we need the user to install the PostgreSQL client for the connector to work. We need some work to update our documentation to explain this requirement better. PostgreSQL client: https://github.com/npgsql/Npgsql/releases
To understand more on PowerApps Gateway requirements, you can see this article here: https://learn.microsoft.com/en-us/powerapps/gateway-management
This article explains the on-premise Gateway in detail: https://learn.microsoft.com/en-us/powerapps/gateway-reference
Also, for any PowerApps specific question, please feel free to leverage PowerApps community here: https://powerusers.microsoft.com/t5/PowerApps-Community/ct-p/PowerApps1

Unable to connect: We could not register this data source for all gateway instances within this cluster.

I have developed some reports using power bi desktop which is using IBM DB2 as datasource. I have installed On-premises data gateway in my power bi system and configured. I have to create ibm db2 datasource connection in power bi web to make live connection with my IBM DB2 database. When i tried to create datasource connection it showing me unable to connect error message.I have given correct credentials but still it showing the same error. Am i missing anything? any special permissions needed to provide from IBM DB2 database admin side? Please help me to solve this issue.
Thanks in advance,
Kannas
I had an identical error. The issue appears to be related to the credentials given in the data source settings when configuring in the online service. In my case I had not entered the domain with the username.

Connect to backend of VSO

Is there a way to get the server info of my VSO account and access using SQL Server?
I've tried logging in using the URL
{account}.visualstudio.com
But I got a sever not found error
No, the back-end databases are SQL Azure instances, different from the TFS on-premise databases. I cannot see MS ever giving you access to the database - maybe the data, but not the database.
You can only use the API (old and new REST) and Power BI tools to perform queries.
If you have a specific problem you are trying to solve, post it as a new question because it may be possible without database access.

How to access Mysql installed on my google cloud instance via Mysql workbench

I have Mysql installed on google cloud instance and its running fine.
Earlier i had a separate google cloud sql instance ,but due to performance issues i installed mysql on my google cloud instance.Iam currently running the database from my google cloud instance.
The issues is that when it was a seperate sql instance i could access the database from Mysql Workbench.
But now that i have it installed on my google cloud instance,i can not access it from workbench.
Is there a way i can access it from my workbench.
Please advise and help
I assume that you have created user in the cloud MySQL instance by giving current public IP. Once you done with it go to the MySQL workbench and click on little plus icon. Then you get a window like below. You can give any name to the database. For the host name you must provide host address relevant to your MySQL instance. Once you done with give a username. To enter the password you must click on the Store in Vault enter it. Once you complete click on TestConnection. If it gives successful message then your connection is done. If not you must recheck inputs most input your public IP, because sometimes this change even after one or two hours. No need of filling Default Schema field. This might be helpful for your work.