Hello,
I have a MySQL database that I'd like to connect to Tableau in order to build dashboards out of. I tried following along with this thread, but I couldn't get the results to work for me.
Here's what I'm doing:
On PuTTY:
- using ssh.pythonanywhere.com as my Hostname in the main PuTTY screen, as seen below:
- go to SSH --> Tunnels
- Enter the following:
- Port: 3306
- Destination: myusername.mysql.pythonanywhere-services.com:3306
Then I login with my PythonAnywhere login credentials.
When I go to Tableau, I enter the following information:
Server: 127.0.0.1 Port: 3306
username: my pythonanywhere username password: my database password.
When I do this, I get the following error message:
[MySQL][ODBC 8.0(w) Driver]Access denied for user 'jonathanbechtel'@'localhost' (using password: YES) Invalid username or password.
I tried switch the value for Port in the SSH --> Tunnels section to 9990, and when I use that value for the port at Tableau sign in I'm given a different error message:
There was an unknown connection error to the database. The error message below has additional information, but you might need to ask the database administrator to review the database logs. [MySQL][ODBC 8.0(w) Driver]Can't connect to MySQL server on '127.0.0.1' (10061) Unable to connect to the MySQL server "127.0.0.1". Check that the server is running and that you have access privileges to the requested database.
I assume the latter means I'm not even establishing a connection.
I'm not sure what I'm missing. I've double checked my password for the database and it should be correct.
I'd try and post more pictures but for some reason they don't render correctly when I do it :(