When I first connect to MySQL, used dbname is **DataBase1** (main DB)

Sometimes, I need to call other stored procedure named 'usp\_select\_query' which exists in **DataBase2** (sub DB)

DataBase1,2 exist on the same server, same account.

In console, this is executed well.

call DataBase2.use\_select\_query; in DataBase1 // ok

```
 c# code
 DataSet ds = DbHelper.CallUSP("usp_select_query", para);  // of course error

 DataSet ds = DbHelper.CallUSP("DataBse2.usp_select_query", para);  //  error

 DataSet ds = DbHelper.CallUSP("`DataBse2`.`usp_select_query`", para);  //  error

  error Message :Procedure or function '``**DataBase2**`.`usp_select_query``' cannot be found in database '`**DataBase1**`'

public static DataSet CallUSP(string usp, params MySqlParameter[] parameters)
        {
            try
            {
                string query = usp;      
                if(conn.State!= ConnectionState.Open)
                conn.Open();                
                MySqlCommand com= conn.CreateCommand();
                com.CommandType = CommandType.StoredProcedure;
                com.CommandText = query;                
                if(parameters!=null)
                    com.Parameters.AddRange(parameters);
                MySqlDataAdapter adapter = new MySqlDataAdapter(com);
                DataSet ds = new DataSet();
                adapter.Fill(ds);
                conn.Close();
                adapter.Dispose();
                com.Dispose();       
                return ds;       
            }
            catch(Exception ex)
            {
                conn.Close();
                LogE(MKSession.COMPANYINDEX,usp,ex.Message);                
            }
            conn.Close();
            return null;
        }

```

How can I do it?