Browse Source

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).
tags/v2.1.0-rc1
Alex Jaspersen 4 years ago
parent
commit
fc1d6ee724
2 changed files with 2 additions and 4 deletions
  1. 1
    2
      conventional.yaml
  2. 1
    2
      oragono.yaml

+ 1
- 2
conventional.yaml View File

663
     mysql:
663
     mysql:
664
         enabled: false
664
         enabled: false
665
         host: "localhost"
665
         host: "localhost"
666
-        # port is unnecessary for connections via unix domain socket:
667
-        #port: 3306
666
+        port: 3306
668
         # if socket-path is set, it will be used instead of host:port
667
         # if socket-path is set, it will be used instead of host:port
669
         #socket-path: "/var/run/mysqld/mysqld.sock"
668
         #socket-path: "/var/run/mysqld/mysqld.sock"
670
         user: "oragono"
669
         user: "oragono"

+ 1
- 2
oragono.yaml View File

684
     mysql:
684
     mysql:
685
         enabled: false
685
         enabled: false
686
         host: "localhost"
686
         host: "localhost"
687
-        # port is unnecessary for connections via unix domain socket:
688
-        #port: 3306
687
+        port: 3306
689
         # if socket-path is set, it will be used instead of host:port
688
         # if socket-path is set, it will be used instead of host:port
690
         #socket-path: "/var/run/mysqld/mysqld.sock"
689
         #socket-path: "/var/run/mysqld/mysqld.sock"
691
         user: "oragono"
690
         user: "oragono"

Loading…
Cancel
Save