I accidentally changed one of both of the 'WordPress address (URL)' and 'Blog address (URL)' fields in the general settings page.
When trying to go to the site URL or login page I get "Error establishing a database connection". When I tried to connect to the database to check the values I got "ER_HOST_IS_BLOCKED (1129).
Host'........' is blocked because of many connection errors; unblock with 'mysqladmin flush hosts'"
I've tried both the 'Edit wp-config.php' and 'Edit functions.php' fixes via http://codex.wordpress.org/Changing_The_Site_URL - neither appear to have worked. .
Also, I replaced the functions.php file with a default version, and added the two required lines. I didn't back up the original file.
I think I made changes to the theme while the site was up - will this be issue?
I'm really stuck with this so any help would be great!