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

Please refer to https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-installing.html.

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


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


Sorry, you can't reply to this topic. It has been closed.

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.