Comments - About MariaDB Connector/J
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
My old java code uses:
Class.forName("com.mysql.jdbc.Driver");
but now it will cause
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Could you tell me is this an issue in MariaDB connector or we should change our code to remove this statement after switch to MariaDB.
Thanks.
Yes, please remove this statement. It should work ok without it.