I have a database in phpmyadmin. I want it to upload to Tableau server.
In settings I choose To a server> MySQL and enter the details
but shows "Unable to connect the server"
Anyway to sort it
note: I'm not sure if my server address needs just server name or http
Related
I am looking to connect my existing PostgreSQL instance on Azure to PG-Admin. Following the advice here, however I get a Unable to connect to server: could not translate host name error. To the best of my knowledge, the host name should be correct. I am taking it from the overview page on Azure, and can confirm it follows the right format of "servername.postgres.database.azure.com". I have also confirmed that that password and usernames are correct, and SSL Mode is set to require (see screenshot, with dummy variables).
In addition, I have tried this on a seperate database in Azure with the same result. No doubt its a mistake I'm making with the hostname/address field in PG-Admin, but I've no idea how to correct.
Prerequisites for connecting PostgreSQL server
Connectivity method: public if we allow for all traffic, private if we restrict traffic via VNet.
Add the IP address where PgAdmin4 is running to the firewall rule.
Step1:
Created a new PostgreSQL server
Step2:
Updated network firewall setting as fallows and saved
Verification from PgAdmin4
Step1:
copy the server's name, user and password from the server setting
Step2:
Open PgAdmin4 portal and click on register server information
On General Tab, enter
- Name: "Any Name"
On Connection Tab:
HostName : "Server Name from the portal"
User Name: "Server admin login name from portal"
Password: "Enter Admin Password"
Database: "Enter DB name else keep same name"
On SSL Tab:
Keep SSL Mode as "Require" and click on SAVE
Upon Save.
NOTE: Make sure firewall should allow and SSL should be Require.
I have paid for a web server at 1and1.
And I decided to use MySQL WorkBench.
It asked for cred. in MySQL Workbench.
Logging in phpMyAdmin I have the following information to use when making mySQL connection code.
Server: dbxxxxxxxx.db.1and1.com via TCP/IP
Server type: MySQL
Server version: 5.5.59-0+deb7u1-log - (Debian)
Protocol version: 10
User: dboxxxxxxxxx#00.00.00.00
Server charset: UTF-8 Unicode (utf8)
In MySQL Workbench
I place Hostname with dbxxxxxxxx.db.1and1.com
And username as dboxxxxxxxxx#00.00.00.00
And store the password in the vault.
when testing the connection I get this message.
Connecting to MySQL server ...
Unknown MySQL server host 'dbxxxxxxxx.db.1and1.com' (0)
The DB works fine via the website.
I tried keeping username as root, using the username without the '#', but to no avail.
If you have any experience that you can shed light on what I am doing wrong or not paying attention to, that would be much appreciated.
Because you have a shared server, and for security reason they wont allow to access through third party app. If you want to access through third party app you should change your server plan.
I have installed Tableau Desktop 9.3 on my Machine. When I try connecting to Microsoft SQL Server as per this tutorial, I don't see any to a server or to a file option.
It just shows as below
How can I connect to server or file using tableau?
You will see a option called To a Server option below where you will find sql server connection.
Since yesterday, I am getting the following error while trying to connect to my Google Cloud SQL MySql database:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
My app is able to connect to the database, but I am unable to connect from my computer. I have configured my public ip address in Access Controls section.
I noticed one other thing. The public address I setup is not stored, and when I come back to the "Access Control" tab I see a different ip address from what I saved.
How do I access my Cloud SQL MySql instance through MySql client? Is there any other setting I need to do?
I figured this was a browser problem. The Google developer console on Mozilla was displaying the ip as updated although it was not updating it in the backend. I used Chrome to set this Access control in the Developer console and this worked fine.
I have a MySql database that is running on a linux server. The DB is not password encrypted.
I understand that no password != empty password.
I installed mysql workbenck on my windows laptop and am trying to connect to my database. It doesn't allow me to.
Details:
Connection method: Standard (TCP/IP)
Error: Cannot connect to Database server
Your connection attempt failed for user'root' from your host to server at 3306
Host is not allowed to connect to this MySql Server.
I am supposing it might be a windows firewall issue.
Please can somebody help me resolve this.
The error message says it clearly: the machine you are connecting from is not allowed to connect. In a MySQL server you can create users with specific IPs they can connect from. Often only localhost access is enabled (user#localhost or user#127.0.0.1 or user#::1), sometimes anyhost (user#%). In order to connect from your Windows machine your user must either be allowed to connect from any host or you need a specific user for the IP address of your Win machine.
The error because the mysql server is not starting in your computer.so you can start it manually..do the following steps,
1.download and install wamp server according to your bit version(32bit or 64bit) in your computer(http://wampserver-64bit.en.softonic.com/) this link allows you to download wamp server for 64bit.
2.As soon as you install it you can double click and run it..(you can see a icon in the right hand of the taskbar.It may be hide.so you can click the arrow which dhows you the hide apps runing).So click the icon and go to Mysql
3.Then go to Service and there you can find Start/Resume Services click on it..
4.And now it is done.Open mysql workbench and see.It will work..
You should create an specific user for accesing from your laptop:
CREATE USER 'youruser'#'machine.domain.com' IDENTIFIED BY 'your-password';
GRANT ALL PRIVILEGES ON *.* TO 'youruser'#'machine.domain.com' WITH GRANT OPTION;
Or you could create an user for accesing from anywhere
CREATE USER 'new_user'#'%' IDENTIFIED BY 'my-password';
GRANT ALL PRIVILEGES ON *.* TO 'new_user'#'%' WITH GRANT OPTION;