Code Monkey home page Code Monkey logo

Comments (4)

Lithiuman avatar Lithiuman commented on September 18, 2024

Does the error happen to feature a line similar to:
[08:12:30 ERROR]: [Prism] Hikari Pool did not Initialize: Failed to initialize pool: Public Key Retrieval is not allowed
If so then you have the same issue as me

from prism-bukkit.

hilltty avatar hilltty commented on September 18, 2024

Namely, the solution to this problem is to install MySQL 5

from prism-bukkit.

JLyne avatar JLyne commented on September 18, 2024

MySQL 8 works perfectly fine when configured properly.

If you are getting "Public Key Retrieval is not allowed" here are several solutions, most secure to least secure.

  1. Enable SSL (add useSSL=true to the jdbcUrl) and configure it correctly.
  2. Store the server's public key somewhere prism can access it and add serverRsaPublicKeyFile=<path to the key file> to the jdbcUrl.
  3. Change the db user to use mysql_native_password instead of the default caching_sha2_password (which became the default in 8).
  4. Add useSSL=false&allowPublicKeyRetrieval=true to the jdbcUrl.

All of the jcbcUrl changes can be made in the hikari.properties file

from prism-bukkit.

Narimm avatar Narimm commented on September 18, 2024

This is not a bug iits a config issue.

from prism-bukkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.