#MYSQL Connector Driver Issue

13 messages · Page 1 of 1 (latest)

forest hull
#

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

dapper forge
#

you need a jdbc driver

forest hull
dapper forge
forest hull
#

I've implemented it with gradle and via adding it to intellij idea libraries

#

I swear I'm getting crazy

dapper forge
#

could be an issue w/ gradle

forest hull
#

implementation files('libs/mysql-connector-j-9.1.0.jar')

dapper forge
#

ask in #mod-dev-gradle-ides, share your build.gradle

forest hull
#

Okay, tysm

dapper forge
forest hull
#

okay, would try but, to be honest, I tryed that type of things