Fix mysqli connection error debugging

...tead of mysqli_error()