Changing the WordPress site URL using the MySQL command line
If you have been locked out of your WordPress admin panel because the IP address of your server changed or some other reason, you will need to log in to MySQL directly and manually change two values in the wp_options table. If you don’t remember your MySQL username and password, you can look it up…