If the database is on the same server as your website is, you could always try to change the DB-host to localhost instead of whatever you have there now. Might do the trick.
If you're on a shared server, it's very possible that some other user has made a boo-boo in a script that messed up.
MySQL blocks hosts that fail to connect time after time. flush hosts merely empties the list of blocked hosts, you could say.
|