Is it possible to connect mysql local db to a project in idx?

Hi Team, I have set up a Spring Boot Maven Java project in idx , but I am facing issues connecting to my local database. Did anyone know how to connect it, or is there any way to connect the database to the project?