Here is a command that forwards all traffic to localhost:3306 across the ssh tunnel to example.com:3306 (the mysql default port).
ssh user@example.com -L 3306:localhost:3306
I would never run a DB admin application on the live server because it's just one more piece that might open a security hole.