hehe I have no idea how to do this in ssh, my friend does though
I only know how this works in windows with apache
anyway, download phpmyadmin, configure the config file and upload it to the server, should put some htaccess rights on the directory for it since phpmyadmin gives you full control of the datbase, there you can do pretty much anything