Use the return of sth execute to set server status

Using the fact that the statement handler execute will return undef on
an error, we can make a crude assumption about the status of the server
(if the statement fails to execute there is probably a problem with the
server).
Merge pull request #3 from gsandie/set_mysql_server_status

Set mysql server status