Better install detection
Better mysqli connection error handling