refactoring set sql_conn_params on conf method