RES: How to use mysql.

Hugo Osvaldo Barrera hugo at osvaldobarrera.com.ar
Wed Feb 1 15:09:08 EST 2012


On 2012-02-01 13:02, Derek Atkins wrote:
> The fact that it is labeled "host" is irrelevant, and you're making an
> incorrect assumption.  The MySQL libraries special case "localhost" and
> try to use the Unix Domain sockets, whereas 127.0.0.1 will use IPv4.

I'm *not* making an assuption, I'm reading the text-label of the field
I'm completing. The MySQL library is making an assuption. That my MySQL
installation is listening to a unix-domain-socket somewhere.

Adding a warning or a note to the error message would be merely helpful
(since I've never configures MySQL con listen to any unix-domain sockets).

However, what I do consider a MUST is using TCP/IP if I specify
"localhost:PORT", since I *am* specifying the port.

While I consider my first two points minor, I consider that specifying a
port means that I undoubtedly am trying to use TCP/IP.

-- 
Hugo Osvaldo Barrera


More information about the gnucash-user mailing list