Hi all,
Currently diving into the world of Kubernetes and thought I’d set up a managed database on Digital Ocean while I’m at it. I’ve set up Ghost no problem, and am trying to get it to use a MySQL database rather than it’s default SQLite. So I’ve entered in my host and credentials for my DO database cluster but get the following error when trying to start Ghost: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
From what I’ve read Ghost doesn’t support the new authentication in MySQL 8. From what I understand I would need to change the authentication type for my MySQL user from caching_sha2_password
to mysql_native_password
or mysql_old_password
. Is this possible?
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
What you could do is just create a new user with
mysql_native_password
. To do that you could use the following:Or you could adjust this for your current user with:
Hope that this helps! Regards, Bobby