# Configure the Project

Add the MySQL driver, commons-dbcp2 and spring-jdbc dependencies to a Maven project's pom.xml so your Java code can work with a MySQL database.

![Cheat sheet: Configure the Project](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/0f46cffda4704b73a0b7c033fd244573.webp)

- Category: Java
- Level: Journeyman
- Tags: java, sql
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/configure-the-project-cheat-sheet
