Have you tried SQLyog? I have been using SQLyog to connect and view the database tables.
'zmlocalconfig -s' can get you all the information you need to connect (port, password,...)
I first run PuTTY and create a tunnel:
Under Connection-->SSH-->Tunnels select 'Local ports accept connections from other hosts'. Set your source port to whatever local port you want to use. I use 3308. Then set your destination to 127.0.0.1:7306 (assuming that the value for mysql_port when you run 'zmlocalconfig -s | grep mysql_port' is 7306).
Of course, your Session Host Name points to your Zimbra server. Your Connection-->Data Auto-login username should be set to a username that has rights to connect to your Zimbra server. The 'root' user will work, but for security reasons, it is probably better to use something different.
Once you open your tunnel, you can run SQLyog to connect.
Set your MySQL host address to 127.0.0.1.
Your port will be your local port you set above (3308). You can get your username and password from the zmlocalconfig output. |