Linode Forum Index Linode Forum
Linode Community Forums
 


Can't connect to MYSQL server through SQLYog

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
neode



Joined: 02 Sep 2010
Posts: 2

Posted: Fri Sep 03, 2010 4:19 am    Post subject: Can't connect to MYSQL server through SQLYog  

Hello All,

I am a new Linode user and signed up to Linode just yesterday and have installed LAMP for my environment. After installation, I am able to login using winscp and putty successfully.

When I am trying to connect to MySQL through SQLYog, I am receiving " Quote: Error no. 2003 can't connect to MYSQL server on 'My IP' (10061) ". But I am able to connect to mysql through putty and have created a database and given rights using the following queries, as given in Linode Library:

Code: create database mydatabase;
grant all on mydatabase.* to 'myusername' identified by 'mypassword';
flush privileges;

Do I have to set any rights or privileges?

I am completely stuck up... please help to solve my issue.

Thanks in advance.

Cheers
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Fri Sep 03, 2010 5:30 am    Post subject:  

For obvious security reasons, MySQL is not accessible to the Internet by default. Take a look at:

http://library.linode.com/databases/mysql/mysql-ssh-tunnel
Back to top  
neode



Joined: 02 Sep 2010
Posts: 2

Posted: Fri Sep 03, 2010 5:48 am    Post subject:  

Hello Hoopycat,

Thanks for the imm. reply :). As per your instruction, I have tried with SSH Tunnel and now things are working fine. I am able to login with sqlyog.

Cheers
Back to top  
spaceguy



Joined: 06 Aug 2011
Posts: 1

Posted: Sat Aug 06, 2011 10:18 pm    Post subject:  

You can now connect to a MySql DB directly with SQLYog with the SSH tab in the Connection Dialog box. Much easier.
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1