Remote connection to MySQL SERVER Windows - mysql

I am trying to remote connect do a MySQL server. I have already given the user permitions from any IP, and tried to change the address-bind to 0.0.0.0
Still I canĀ“t connect. Every time I try I recive the follow error " Failed to connect at x.x.x.x with user XXXX
Cant connect to MySQL Server on x.x.x.x (10060)."
Does anyone have any idea of what is wrong?

Related

Another can't remote mysql in gcloud

I've gone through the basics, bind_address, Google's Firewall, ufw shows inactive but I can't even telnet to the machine on the mysql port.I'm trying to get spotfire to use our db directly just to test it out.
The mysql db is on a vm instance in Google Cloud. The server can of course work with the db no problem, any external connections don't go through with this error:
ERROR 2002 (HY000): Can't connect to MySQL server on '' (119)
Telnet says this:
Connecting To ...Could not open connection to the host, on port 3306: Connect failed
I'm sure I'm missing something, any help will be awesome.

Error while connecting to a mysql server using R script

I am trying to use R-studio and R script to connect to mysql database which is on an Ubuntu system. The error is:
Error in .local(drv, ...) : Failed to connect to database: Error: Can't connect to MySQL server on 'x.x.x.x' (0)
I tried using telnet to connect, but I get an error saying:
Could not open connection to the host, on port 3306: Connect failed
I tried using putty, and I am able to connect to the ubuntu system with proper credentials. But I am unable to connect thru R. Windows firewall has been disabled. Password and IP address are fine. I tried using localhost but no help.
Any suggestions would be greatly appreciated.
I figured out. there were some internal issues, otherwise, everything as fine. the port was open and the password was right..

If the server on my mac is not running for MySQL, is can I try to run other databases on my machine?

I have a java project which connects to a MySQL database. Earlier it was working fine, but I think I messed up some of the configuration settings when trying to connect not via localhost. After messing around for hours and not making any progress (including completely reinstalling MySQL onto my mac and pc ( I was trying to connect these) ) I have given up and now am thinking of using some other database software like Postgre. Will the same error come up since its to do with not being able to connect as the server is not running?
The error at the moment is:
Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306:
Access denied for user 'root'#'localhost' (using password: YES)
Please:
Check that mysql is running on server 127.0.0.1
Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)
Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)
Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from

Cannot Connect to Database Server MySQL Workbench Tunnel Error

Every time I try to connect to my mySQL on mysql workbench, it gives me this error message saying:
Your connection attempted failed for user 'root' from your host to server at http:x.x.x.x:3306: Cannot open SSH Tunnel:Error connecting SSH tunnel:Error Connecting to SSH server Error 11004 get addrinfo failed
I think you could get solution here: http://quintagroup.com/services/support/tutorials/mysql-linux
or follow this steps:
Open putty and accept the certificate of the server
hostname should be localhost ( in order to use local socket and not http conection)
local port should be something like 33010 not 3306
local port is the conection back port used by the plink and has nothing to do with mysql ports

Trouble Creating a connection in MySQL Workbench

I am using Fedora 18 and recently installed MySQL workbench.
I created a new connection in MySQL workbench, but when trying to open I get the following error:
Cannot Connect to Database Server
Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306:
Can't connect to MySQL server on '127.0.0.1' (111)
Please:
Check that mysql is running on server 127.0.0.1
Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)
Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)
Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from
Any idea what the issue would be?
Fedora 18 is a Linux Based Operating System and it works on chmod 777. so there should be authentication problem. otherwise server 127.0.0.1 and host name , username same as we keep in windows. you need to set authentication.