Removed unnecessary 'else' statement
Merge pull request #3136 from melvinsh/patch-1

Removed unnecessary 'else' statement
Add "strict" setting for MySQL connection.