Cannot connect to main mysql server