GnuCash, Windows 7 and MySQL

Mike Alexander mta at umich.edu
Sat Dec 4 19:06:23 EST 2010


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.

         Mike

--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
>
>




More information about the gnucash-devel mailing list