MYSQL Connector Driver Issue

Hi, I'm trying to implement an sql database, but I'm only getting the "No suitable driver found", anyone knows why it could be?

implementation group: 'com.mysql', name: 'mysql-connector-j', version: '9.1.0'

Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/name?user=user&password=password
Was this page helpful?