Database MySQLi driver improvement