support both mysql n mysqli info