GnuCash, Windows 7 and MySQL

Derek Atkins warlord at MIT.EDU
Mon Dec 6 09:21:44 EST 2010


Mike Alexander <mta at umich.edu> writes:

> I think it would be better to use an ifdef (although the ifdef could
> control whether to do the replacement you describe) since it's
> possible, although unlikely, to have localhost be something other than
> 127.0.0.1 on a non-Windows system.

Not that I disagree with you, but except for CMU in the 1980s and 90s I
have never seen anyone use something OTHER than 127.0.0.1 for localhost.
Having said that, I think only forcing the resolution internall for
G_OS_WIN32 is just fine.

>         Mike

-derek

> --On December 4, 2010 5:13:39 PM -0500 Derek Atkins <derek at ihtfp.com>
> wrote:
>
>> Or better yet, internally replace "localhost" with "127.0.0.1"?
>>
>> -derek
>>
>> ----- Reply message -----
>> From: "Christian Stimming" <stimming at tuhh.de>
>> Date: Sat, Dec 4, 2010 4:00 pm
>> Subject: GnuCash, Windows 7 and MySQL
>> To: <gnucash-devel at gnucash.org>
>>
>> Am Samstag, 4. Dezember 2010 schrieb Geert Janssens:
>>> https://bugzilla.gnome.org/show_bug.cgi?id=624465
>>> https://bugzilla.gnome.org/show_bug.cgi?id=635911
>>>
>>> But I'm not only writing this to inform, I would also like to
>>> propose to change the hostname that is set by default in the Save As
>>> and Open dialog boxes to 127.0.0.1. If we leave it as localhost, I
>>> guess we will be getting a lot of "It doesn't work" messages in the
>>> future.
>>
>> Yes, in principle, because having a solution that works is better
>> than having  something which won't work on some systems. However, the
>> numbers look very  ugly compared to the name "localhost". Can you
>> make that an #ifdef on  G_OS_WIN32, and leave it at localhost for the
>> other systems?
>>
>> Regards,
>>
>> Christian
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>
>>
>
>
>
>

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list