From 593ad63708a6c2bca470ddec6c1d13f723cd27a3 Mon Sep 17 00:00:00 2001 From: Yalh Date: Tue, 29 Jan 2019 22:07:31 +0100 Subject: [PATCH] Fix db_user --- conf/config.sample.yml | 2 +- scripts/install | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/config.sample.yml b/conf/config.sample.yml index b8737ce..a66d250 100644 --- a/conf/config.sample.yml +++ b/conf/config.sample.yml @@ -32,7 +32,7 @@ db: # PostgreSQL / MySQL / MariaDB / MS SQL Server only: host: localhost port: 3306 - user: __DB_USER__ + user: __DB_NAME__ pass: __DB_PWD__ db: __DB_NAME__ # SQLite only: diff --git a/scripts/install b/scripts/install index 9284113..1a24b6e 100644 --- a/scripts/install +++ b/scripts/install @@ -227,7 +227,6 @@ cp -f ../conf/config.sample.yml "$final_path/config.yml" #ynh_replace_string "match_string" "replace_string" "$final_path/config.yml" ynh_replace_string "__PORT__" "$port" "$final_path/config.yml" -ynh_replace_string "__DB_USER__" "$db_user" "$final_path/config.yml" ynh_replace_string "__DB_PWD__" "$db_pwd" "$final_path/config.yml" ynh_replace_string "__DB_NAME__" "$db_name" "$final_path/config.yml"