How to get Navicat to browse your linode securely (via SSH)

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

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)

mysql -u database_username -p database_name 

* Now fire up you local Navicat application. Set the following in the connection settings:

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

3 Replies

Here is the best tut I've found.

James

@zunzun:

Here is the best tut I've found.

James

Cheesy yet novel.

I liked this one a lot back in the day:

http://www.youtube.com/watch?v=UdlwKeYMfkE

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct