Skip to content

An error occurred while loading the MySQL driver. #4224

@Minecraft0122

Description

@Minecraft0122

Describe the issue

The plugin encountered an error during startup, possibly while downloading the MySQL driver. However, I have checked the network connection, and the server can normally connect to MySQL's website (www.mysql.com).

Exceptions & Other Logs

[07:39:36] [Plan Reload Thread/INFO]: [Plan] Locale: 'English' by AuroraLS3
[07:39:36] [Plan Reload Thread/INFO]: [Plan] Downloading MySQL Driver, this may take a wh ile...
[07:39:43] [Plan Reload Thread/ERROR]: [Plan] Plan-v5.4 build 1723 java.lang.RuntimeException: Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class loader or Thread context classloader at plan.com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:491) ~[?:?]
at com.djrapitops.plan.storage.database.MySQLDB.setupDataSource(MySQLDB.java:114) ~[?:?]
at com.djrapitops.plan.storage.database.SQLDB.init(SQLDB.java:152) ~[?:?]
at com.djrapitops.plan.storage.database.DBSystem.enable(DBSystem.java:92) ~[?:?]
at com.djrapitops.plan.storage.database.BukkitDBSystem.enable(BukkitDBSystem.java:56) ~[?:?]
at com.djrapitops.plan.PlanSystem.enableSystems(PlanSystem.java:201) ~[?:?]
at com.djrapitops.plan.PlanSystem.enable(PlanSystem.java:163) ~[?:?]
at com.djrapitops.plan.Plan.onEnable(Plan.java:77) ~[?:?]
at com.djrapitops.plan.commands.subcommands.PluginStatusCommands.lambda$onReload$0(PluginStatusCommands.java:72) ~[?:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_342]
[07:39:43] [Plan Reload Thread/ERROR]: [Plan] Plugin Failed to Initialize Correctly. If this issue is caused by config settings you can use /plan reload
[07:39:43] [Plan Reload Thread/ERROR]: [Plan] This error should be reported at https://github.com/plan-player-analytics/Plan/issues
[07:39:43] [Plan Reload Thread/INFO]: [Plan] Processing complete.
[07:39:43] [Plan Reload Thread/INFO]: [Plan] Waiting for unfinished transactions to avoid data loss...
[07:39:43] [Plan Reload Thread/INFO]: [Plan] Transaction queue closed.
[07:39:43] [Plan Reload Thread/INFO]: [Plan] Player Analytics Disabled.
[07:39:43] [Plan Reload Thread/INFO]: Reload Complete

Plugin versions

v5.3 build 1723

Additional information

I am using DeepSeek to translate this content, as English is not my native language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions