Skip to content

⚠ SQLibrary 7.1 no longer functions on newer Paper builds #3948

Open
@Brickgard

Description

@Brickgard

Description

As of Paper build #587 some MySQL elements have changed, requiring some sort of class update for anything that uses MySQL.
Because of this, as of that build MySQL databases cannot be used by Skript.

Steps to Reproduce

Paper build #587+
Skript + SQLibrary 7.1 no longer connects to a MySQL Database
Reverting to Paper build #586 still operates fine.

Errors

[13:02:25 WARN]: [Skript][MySQL] MySQL DataSource class missing: com.mysql.jdbc.jdbc2.optional.MysqlDataSource.
[13:02:25 ERROR]: #!#!
[13:02:25 ERROR]: #!#! ===!!!=== Skript variable load error ===!!!===
[13:02:25 ERROR]: #!#! Unable to load (all) variables:
[13:02:25 ERROR]: #!#! Cannot connect to the database 'MySQL database'! Please make sure that all settings are correct and that the database software is running.
[13:02:25 ERROR]: #!#!
[13:02:25 ERROR]: #!#! Skript will work properly, but old variables might not be available at all and new ones may or may not be saved until Skript is able to create a backup of the old file and/or is able to connect to the database (which requires a restart of Skript)!
[13:02:25 ERROR]: #!#!

Server Information

Paper build Latest (or any build past #587)
Minecraft 1.16.5

Comments

I keep thinking there's a more "modern" solution to storing Skript variables in an SQL database, but my months of searching continually come up empty. If SQLibrary is depreciated, what replaced it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR availableIssues which have a yet-to-be merged PR resolving itbugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).variablesRelated to variables and/or storing them.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions