fix mysql connection error