Fix MySQL connection validation during installation

Remove call to undefined variable `$tmpConnection`.