From fc1d6ee724af18696f4534dfddc4f965a073ba69 Mon Sep 17 00:00:00 2001 From: Alex Jaspersen Date: Sun, 17 May 2020 05:13:10 +0000 Subject: [PATCH] Uncomment MySQL port in default configs. This ensures that host:port is used rather than an empty address, which defaults to 127.0.0.1:3306 (ignoring the host in the config). --- conventional.yaml | 3 +-- oragono.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/conventional.yaml b/conventional.yaml index cd1ae1d4..bf587af7 100644 --- a/conventional.yaml +++ b/conventional.yaml @@ -663,8 +663,7 @@ datastore: mysql: enabled: false host: "localhost" - # port is unnecessary for connections via unix domain socket: - #port: 3306 + port: 3306 # if socket-path is set, it will be used instead of host:port #socket-path: "/var/run/mysqld/mysqld.sock" user: "oragono" diff --git a/oragono.yaml b/oragono.yaml index 9f4ed2f7..dfb799b4 100644 --- a/oragono.yaml +++ b/oragono.yaml @@ -684,8 +684,7 @@ datastore: mysql: enabled: false host: "localhost" - # port is unnecessary for connections via unix domain socket: - #port: 3306 + port: 3306 # if socket-path is set, it will be used instead of host:port #socket-path: "/var/run/mysqld/mysqld.sock" user: "oragono"