You can save a data sources nto a variable using the code below.
const db = await MindsDB.Databases.getDatabase('mysql_datasource');