Re: No drivers for MySQL 8.0.28
Posted by: Filipe Silva
Date: February 09, 2022 04:21AM

Please refer to

Are you doing something in your code to load the Connector/J driver? Mind that Connector/J registering class is 'com.mysql.cj.jdbc.Driver', not 'com.sql.cj.jdbc.Driver'.

You shouldn't have to do this anyway. The driver is loaded automatically by Java's service provider mechanism as long as you have it in your classpath.

Options: ReplyQuote

Written By
Re: No drivers for MySQL 8.0.28
February 09, 2022 04:21AM
February 18, 2022 03:01AM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.