Configurable mysqli connection