I need to connect to my mySQL DB, that is related on the cPanel. I need to connect there from my pc, so i can check some things, and continue working on my project. But i don't know what data should i give to mySQL Workbench to connect to my DB. I tried to use TCP/IP, TCP/IP over ssh with these data:
i also opened connection for my IP at the cPanel, but nothing's working. I tried to use PuTTY, and it says that the other side(cPanel i think) closed the connection.
I also tried not to use ssh key file, nothing's working.
What should i do to connect to my DB?
Related
I want to be able to connect to and work with a MySQL database that I have on DigitalOcean via PyCharm's database interface (instead of MySQL Workbench, which is what I'm currently using), but when I try to use PyCharm's interface to connect, I get the following error when I click 'Test Connection':
Packet for query is too large (###### > ######). You can change this value on the server by setting the max_allowed_packet' variable.
I'm connecting to DigitalOcean via SSH, and PyCharm is saying that my SSH connection is OK (it's working).
The issue ended up being that I was putting the wrong IP address and port into PyCharm's prompt: I was putting the IP address to my DigitalOcean VM instead of the local IP address of the MySQL db.
Here's a screenshot of the PyCharm settings that ended up working (remember, I was connecting via SSH):
Here's a screenshot of my (working) MySQL Workbench settings, showing which settings I should have copied over to PyCharm:
I'm fairly new to using MySQL Workbench. I should also mention that I host my database in shared hosting.
I was able to connect to my databases using Standard TCP/IP connection, but I would like something more secure.
So I tried setting up the Require SSL setting for Standard TCP/IP, but even though the site supports https, I receive an error:
I've also tried to set up connection over SSH tunnel using the following settings: https://i.imgur.com/KjO0tK2.png but it also fails:
The SSH connection should work, as I am able to connect to the hosting using PuTTY.
Any idea on what I might be doing wrong?
Thanks!
We're in the process of setting up Tableau connectivity to our company's sales database and so far, the people that have been attempting to connect (they're from some other company) keep getting denied. The errors they're getting are as follows.
Unable to connect to the ODBC Data Source. Check that the necessary drivers are installed and that the connection properties are valid.
Can't connect to MySQL server on '[IP address] (61).'
Unable to connect to the server '[IP address].' Check that the server is running and that you have access privileges to the requested database.
Today we opened ports 3306 and 20560. We were hoping we could set up some kind of port forwarding thing so that they connect to 20560. I'm not sure what we need to do to set that up, however. I was also told that SSH tunneling is an option, but connecting with PuTTY doesn't yield any results.
I'm at a complete loss as to what I need to do to allow them to connect. I'm also not sure that opening port 3306 is safe and I'd like to know if I should have it closed. I randomly picked port 20560 because it's not being used for anything. We don't want just anyone to connect, but I've been told that the IP address connecting to our database may not be static.
I I want to connect my GUI Workbench in SSH for my server Laravel Forge with private key but it failed. In connection ssh, it works! An idea please? (see screenshots)
Instead of setting the MySQL Hostname to localhost/127.0.0.1 try setting it to your server's IP (46.101.34.74 in your case).
I ran into the same issue, tried that out of desperation and it works. Basically setting the SSH Tunnel to connect to an IP that is itself? Not sure.
I am trying to connect mysql database in phpmyadmin to the access file. I am using mysqlconnector ODBC for that. Tutorial I am following is this
The problem is that when I give the credentials to connect to database, it gives me error as shown in this snapshot
I have tried hard to search on internet but failed. What mistake I am doing. I am putting the ftp information of the server there. Is there any database credentials i need to put?
You can't use the FTP credentials to connect the MySQL database. You have to use the database credentials. Make sure you have done followings before connecting.
Make sure MySQL server is up and running on the HOST IP and PORT.
Your MySQL server can accept connections from your IP or use % for
all IPS
Make sure you have a valid USER account
EDIT
Or tell us where(local server, internet, IP) the MySQL database is installed. The port number the server is listening on. How you access MySQL server normally.