non è che hai impostato host con la stringa 'localhost'??