From ff9af590d385f103cb24dcbbf4b027827b5e6ef4 Mon Sep 17 00:00:00 2001 From: ChickenSellerRED Date: Mon, 11 Mar 2024 11:26:12 -0700 Subject: [PATCH] update db_config_sample.yaml --- conf/db_config_sample.yaml | 8 ++++---- page/import_page.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/db_config_sample.yaml b/conf/db_config_sample.yaml index 4aa9f8c..9cd059f 100644 --- a/conf/db_config_sample.yaml +++ b/conf/db_config_sample.yaml @@ -1,9 +1,9 @@ -database_number: 0 +database_number: 1 database1: nickname: 'local db' dbms: 'postgresql' - host: db # '35.235.95.37' # Replace with your DB host - port: 5432 # 5439 # Replace with your DB port - user: 'admin'# 'jize' # Replace with your DB username + host: db + port: 5432 + user: 'admin' password: 'admin' diff --git a/page/import_page.py b/page/import_page.py index 0f69986..accf23d 100644 --- a/page/import_page.py +++ b/page/import_page.py @@ -113,7 +113,7 @@ def import_page(): col1, col2 = st.columns([2,5]) with col1: - selected_db_server = st.selectbox("**Select a database server**", get_existing_database_server()).split(' (')[0] + selected_db_server = st.selectbox("**Select a database server**", get_existing_database_server()) with col2: new_db_name = st.text_input("Enter new w4h database instance name") if st.button("Create"):