Added extra error handling
Added extra error handling
Added extra error handling
Added extra error handling
Added extra error handling
Merge pull request #154 from Coenego/mysql-error-handling

Added extra error handling