Is there something you changed between the first error log and the second (other than renaming that table)? Because in the first log it seems like connection to the MySQL server was made, but there was a data error. In the second log however, it seems as if the endpoint-to-endpoint connection is not even made (error 111 means connection refused). Did you change connection details, firewall settings, and what not? Double check in my.cnf if you have "bind-address = x.x.x.x" and put a hashtag in front of it to disable that directive.
EDIT: And restart the MySQL server afterwards.