gnucash stable: Bug 799603 - Does not save to mysql on localhost.
John Ralls
jralls at code.gnucash.org
Sun May 11 19:31:11 EDT 2025
Updated via https://github.com/Gnucash/gnucash/commit/155996a7 (commit)
from https://github.com/Gnucash/gnucash/commit/163d86de (commit)
commit 155996a7bd8ca9c0d99e41956fe5607c43e85b5c
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 11 16:29:13 2025 -0700
Bug 799603 - Does not save to mysql on localhost.
Because flatpak blocks resolving localhost.
diff --git a/gnucash/gnome-utils/dialog-file-access.c b/gnucash/gnome-utils/dialog-file-access.c
index 30433d0551..71921f7dec 100644
--- a/gnucash/gnome-utils/dialog-file-access.c
+++ b/gnucash/gnome-utils/dialog-file-access.c
@@ -40,7 +40,10 @@
static QofLogModule log_module = GNC_MOD_GUI;
-#define DEFAULT_HOST "localhost"
+/* Flatpak build blocks access to the resolver so it can't retrieve
+ * localhost's IP address.
+ */
+#define DEFAULT_HOST "127.0.0.1"
#define DEFAULT_DATABASE PROJECT_NAME
#define FILE_ACCESS_OPEN 0
#define FILE_ACCESS_SAVE_AS 1
Summary of changes:
gnucash/gnome-utils/dialog-file-access.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
More information about the gnucash-changes
mailing list