Bacula-users

Re: [Bacula-users] RE : HELP : MySQL database lost - how best to restore data

2011-11-06 15:59:13
Subject: Re: [Bacula-users] RE : HELP : MySQL database lost - how best to restore data
From: Ben Walton <bwalton AT artsci.utoronto DOT ca>
To: Win Htin <win.htin AT gmail DOT com>
Date: Sun, 06 Nov 2011 15:57:46 -0500
Excerpts from Win Htin's message of Sun Nov 06 15:50:13 -0500 2011:

> To make matters worse, the MySQL database is running on a none
> default port. Since "bscan" doesn't have an option to set the port
> number I am in a bit of a bind. Any ideas?

Make yourself a quick tunnel with ssh or use nc (netcat) to either
proxy a unix socket at the standard path to the non-standard port or
create the effect of a tunnel.

The ssh route is likely the easiest... Something like:
ssh -L 3306:$dbhost:$weirdport

Alter to taste.  Depending on circumstance, nc might be a good option
though.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users