-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQL 8.0 support #1779
Comments
Spigot's built-in mysql connector doesn't support mysql 8 sadly,, we need to include our own connector library to fix this |
So in the meantime I can use any mysql version that is not 8. Or is there a recommended version ? |
Yes |
You could also use MariaDB. It's a fork of MySQL and largely replaced the mysql package in many Linux distributions. However MariaDB 10+ is a major release and it could also contain breaking changes like in MySQL 8 from 5.7. |
BTW I noticed that the MySQL connector Spigot currently uses should support MySQL 8. The fix should be included in Connector 5.1.44. This is available in Spigot 1.12.2+ |
I'm having this problem too with the latest build downloaded from the CI, please fix |
@tommasobenatti which MC version is your server at? |
Paper 1.8.8, |
…+ Enhance maven shade resource filtering
@tommasobenatti please try using the "legacy" jar here: https://ci.codemc.io/job/AuthMe/job/AuthMeReloaded/ |
@tommasobenatti @rur0 Can somebody please test the legacy jar? |
Sorry, at the moment I'm very busy and I can't test |
@sgdc3 |
I think that you should test on a 1.8 server @r3cord |
Their issue is related to #2303 and 1.8 is obsolete anyway. |
@tommasobenatti ohh so there is no fix for this problem in not legacy version of the plugin? |
This issue was created because AuthMe wasn't working on 1.8 and MySQL 8 afaik |
Since 1.8 is older than MySQL 8 and it dosn't include the library to connect to the database. |
@krusic22 Yeah you're right. Thank you very much! I've had to change com.mysql.jc.jdbc.Driver to com.mysql.jdbc.Driver and now it works. |
Modify POM mysql mysql-connector-java 8.0.xx truepackage jar Modify config.yml I use this method |
VersionPaper 1.16.5 build777 ErrorSometimes startup with ERROR, especially after starting up the server or restarting mysql: Solutionin MYSQL: |
What behaviour is observed:
Server crashes without starting when using MYSQL storage with MYSQL 8 server
What behaviour is expected:
Server to start and run authme smoothly
Steps/models to reproduce:
enable and configure MYSQL with a MYSQL 8 server
Plugin list:
ProtocolLib, SkinsRestorer, AuthMe
Environment description
PaperMC standalone server with AuthMe MYSQL storage
AuthMe build number:
AuthMe v5.5.1-SNAPSHOT-b2214
Error Log:
https://pastebin.com/D4afV6fP
Configuration:
https://pastebin.com/gM6SyHg6
edit: Also, when I am trying to compile AuthMe, I get this error from maven http://i.imgur.com/osz9Nik.png am I missing some repository ?
The text was updated successfully, but these errors were encountered: