浏览代码

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 年前
父节点
当前提交
fc1d6ee724
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 1
    2
      conventional.yaml
  2. 1
    2
      oragono.yaml

+ 1
- 2
conventional.yaml 查看文件

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

+ 1
- 2
oragono.yaml 查看文件

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

正在加载...
取消
保存