Fix bug on conf method, set sql_conn_params