Re: libmysql won't connect to localhost but ODBC will - RESOLVED
Posted by: Rene Churchill
Date: February 03, 2012 02:55AM

Turns out that by default on Win7 machines, localhost resolves to ::1, which is the IPv6 version of the loopback address. You can either connect to 127.0.0.1 instead (could have sworn I'd tested that) or edit the windows hosts file (c:\windows\system32\drivers\etc\hosts) to redefine localhost back to 127.0.0.1

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: libmysql won't connect to localhost but ODBC will - RESOLVED
2234
February 03, 2012 02:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.