ERROR java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver - am I missing an import?

Hey Katalon Friends :sunglasses:
I’m trying to use Katalon to connect to mysql database that I have setup and I’m getting the following error, am I missing an import that is needed for this driver? Outside of Katalon, I’m successfully connected to my database. Thanks for your help in advance.
ERROR k.k.c.m.CustomKeywordDelegatingMetaClass - :x: java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver

Hi @Stephanie.LovingJone,

ERROR k.k.c.m.CustomKeywordDelegatingMetaClass - :x: java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver

You need to download MySQL JDBC driver and add to your project as an external dependencies. For more details, please refer to our doc: https://docs.katalon.com/docs/create-tests/data-driven-testing/implement-data-driven-testing-with-mysql#add-an-external-jdbc-driver-for-mysql-database-connection

2 Likes

AWESOMENESS, thanks @duyluong for such a quick response, this community ROCKS!!! I will give it a try and provide a response, thank you!!!
It worked, yayyyy, thanks again.

2 Likes

@Stephanie.LovingJone,

Great. Happy testing and enjoy using Katalon Studio :hugs:

1 Like

It’s the BEST for sure!!!

2 Likes

Best Best, thanks to