Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Sep 03, 2010 5:19 am 
Offline
Newbie

Joined: Thu Sep 02, 2010 6:03 am
Posts: 2
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


Top
   
 Post subject:
PostPosted: Fri Sep 03, 2010 6:30 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
For obvious security reasons, MySQL is not accessible to the Internet by default. Take a look at:

http://library.linode.com/databases/mys ... ssh-tunnel

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Sep 03, 2010 6:48 am 
Offline
Newbie

Joined: Thu Sep 02, 2010 6:03 am
Posts: 2
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


Top
   
 Post subject:
PostPosted: Sat Aug 06, 2011 11:18 pm 
Offline

Joined: Sat Aug 06, 2011 11:12 pm
Posts: 1
You can now connect to a MySql DB directly with SQLYog with the SSH tab in the Connection Dialog box. Much easier.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group