Compare commits

...

2 Commits

Author SHA1 Message Date
30f8c13791 Merge branch 'master' into dist/eole/2.7.2/master 2021-03-01 17:35:36 +01:00
64dde6d518 Use socket when db is local 2021-03-01 17:35:25 +01:00

View File

@@ -60,12 +60,12 @@ DB_TYPE = mysql
%set %%dbMode = %%getVar("gitea_db_mode")
%if %%dbMode == "default"
%if %%edb_local == "oui"
HOST = 127.0.0.1:3306
HOST = /var/run/mysqld/mysqld.sock
%else
HOST = %%{edb_host}:%%{edb_port}
%end if
%elif %%dbMode == "local"
HOST = 127.0.0.1:3306
HOST = /var/run/mysqld/mysqld.sock
%elif %%dbMode == "externe"
HOST = %%{gitea_dbserver}:%%{gitea_dbport}
%end if