ElectroAAC
  • 📚ElectroAAC Documentation
  • Reference
    • 🖥️Quick Start
    • ⚙️Backend
      • 📃Endpoints
        • 🔑Authorization
        • 🗽Status
        • 🌀Server
        • 🆕News
        • 📨Account
        • 🧙‍♂️Players
        • 🏆Highscores
        • 🟢Online
        • 💀Lastkills
        • 🏨Guilds
        • 🦂Creatures
        • 👺Items
        • 🛒Shop
          • 🤑Payments
            • 🇧🇷Pix
        • 📊Dashboard
          • 🆕News
          • 💼Accounts
          • 🧙‍♂️Characters
          • 💸Shop
      • ⚒️How to initialize project
      • 🧙‍♂️How to register Character Sample
    • 🦎Frontend
      • 🔮How to initialize project
      • 🔐Configure .env
      • 🐸Configure your vocations
      • ⚜️Change layout
    • 👾Some common mistakes
      • NOT SUPPORTED AUTH
      • Old node version
    • 🪞Run the screen
    • 🔶Run the project with Nginx
      • 🚆How to install
      • ❄️Configure Frontend
      • 🤖Configure Backend (API)
Powered by GitBook
On this page
  • Message:
  • Solution:
  1. Reference
  2. 👾Some common mistakes

NOT SUPPORTED AUTH

Message:

Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Solution:

Execute the following query in MYSQL Workbench

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

Where root as your user localhost as your URL and password as your password

Then run this query to refresh privileges:

FLUSH PRIVILEGES;

Try connecting using node after you do so.

If that doesn't work, try it without @'localhost' part.

References: https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not-support-authentication-protocol-requested-by-server

PreviousSome common mistakesNextOld node version

Last updated 3 years ago