fix mysqli connect method