La butto lì...ma usare un'applicazione tipo phpMyAdmin che fa praticamente tutto quello che serve a te?