Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Aug 18, 2012 10:20 am 
Offline
Senior Newbie

Joined: Sat Jan 28, 2012 8:08 am
Posts: 5
Even though Navicat has an SSH option, it didn't work for me. Thanks for some help from #linode and other tuts out there I was able to get this to work

    SSH to your linode and forward local port 13306 to your linode's mysql port 3306
Code:
ssh -L13306:127.0.0.1:3306 host@yourLinodeIP

    Fire up mysql with the user and database you want to access (you'll be prompted for password)
Code:
mysql -u database_username -p database_name 

    Now fire up you local Navicat application. Set the following in the connection settings:
Code:
Connection Name: whatever
Host name/ IP address: localhost
Port: 13306
Username: (your database username)
Password: (your database password)

    Hit the 'Test Connection' button to see if you succeeded

Now the next step would be to set up a script to automate this.

Edit: Fixed thread title


Last edited by Kunda on Sun Aug 19, 2012 9:12 am, edited 1 time in total.

Top
   
PostPosted: Sun Aug 19, 2012 9:01 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
Here is the best tut I've found.

James


Top
   
PostPosted: Sun Aug 19, 2012 9:14 am 
Offline
Senior Newbie

Joined: Sat Jan 28, 2012 8:08 am
Posts: 5
zunzun wrote:
Here is the best tut I've found.
James


Cheesy yet novel.


Top
   
PostPosted: Sun Aug 19, 2012 11:44 am 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
I liked this one a lot back in the day:
http://www.youtube.com/watch?v=UdlwKeYMfkE


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


Who is online

Users browsing this forum: No registered users and 1 guest


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