Comments - About MariaDB Connector/J

10 years, 5 months ago david yu

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.

 
10 years, 5 months ago Vladislav Vaintroub

Yes, please remove this statement. It should work ok without it.

 
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.