What is datasource.url and datasource.driverClassName in application.properties in Spring Boot

The url is the location of your database. Here you are saying my database is located at http://localhost:3306/example where example is the database name.

The DriverClassName is the name of the JDBC driver that you use to talk to your database. in case one of the Spring data libraries like JDBC or JPA is used you can omit that property.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top