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"