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).
This commit is contained in:
Alex Jaspersen 2020-05-17 05:13:10 +00:00
parent 3468a8cb8a
commit fc1d6ee724
2 changed files with 2 additions and 4 deletions

View File

@ -663,8 +663,7 @@ datastore:
mysql: mysql:
enabled: false enabled: false
host: "localhost" 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 # if socket-path is set, it will be used instead of host:port
#socket-path: "/var/run/mysqld/mysqld.sock" #socket-path: "/var/run/mysqld/mysqld.sock"
user: "oragono" user: "oragono"

View File

@ -684,8 +684,7 @@ datastore:
mysql: mysql:
enabled: false enabled: false
host: "localhost" 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 # if socket-path is set, it will be used instead of host:port
#socket-path: "/var/run/mysqld/mysqld.sock" #socket-path: "/var/run/mysqld/mysqld.sock"
user: "oragono" user: "oragono"