gnucash stable: Database default host: Fix comment.
John Ralls
jralls at code.gnucash.org
Mon May 12 14:44:23 EDT 2025
Updated via https://github.com/Gnucash/gnucash/commit/f915db9c (commit)
from https://github.com/Gnucash/gnucash/commit/155996a7 (commit)
commit f915db9c95c74d024b3c4dab36050c7665d3e3b1
Author: John Ralls <jralls at ceridwen.us>
Date: Mon May 12 11:42:41 2025 -0700
Database default host: Fix comment.
To correctly explain why flatpak needs an IP address instead of
localhost.
diff --git a/gnucash/gnome-utils/dialog-file-access.c b/gnucash/gnome-utils/dialog-file-access.c
index 71921f7dec..c595e79f6a 100644
--- a/gnucash/gnome-utils/dialog-file-access.c
+++ b/gnucash/gnome-utils/dialog-file-access.c
@@ -40,8 +40,9 @@
static QofLogModule log_module = GNC_MOD_GUI;
-/* Flatpak build blocks access to the resolver so it can't retrieve
- * localhost's IP address.
+/* MariaDB/MySQL/Postgres optimize localhost to a unix socket but
+ * flatpak won't connect to unix sockets without gymnastics default to
+ * the localhost IP to force a network connection.
*/
#define DEFAULT_HOST "127.0.0.1"
#define DEFAULT_DATABASE PROJECT_NAME
Summary of changes:
gnucash/gnome-utils/dialog-file-access.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list