Install failed in MySQLi under certain conditions (fixes #511)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #513 from Oldiesmann/release-2.1

Install failed in MySQLi under certain conditions (fixes #511)