That worked for about five seconds! I could get into my dashboard, but not into 'settings' to change back the URL from the Wordpress end.
Moreover, the database table jumps back to the bad URL after a few seconds.
I think what's happening is that the database is pulling the information from Wordpress, overwriting the changes I've made in it manually. Is there a way to stop it from doing this, or even pausing it?