As for Jurij's method, it'll work - Depends if you don't mind retaining the same dbname.