Update MysqliDb.php with backward compatibility for parameters.