Attempted to implemented the Digital Ocean Managed DB steps for the new Database manager: Creating Database Connections with the Database Manager
but received the following error - error connecting: self signed certificate in certificate chain
Use case performed on a new DB and project as per instructions - Has anyone experienced this?
Thank you for your reply. See screenshots below. I have Wappler 3.6.1 installed (previously 3.6.0 with the same result). Tested with MySQL Workbench and dBeaver successfully.
The following error message means you are attempting to connect to MySQL using an application or a version 5.x client that does not support the caching_sha2_password .
ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Copy
If you are getting this error using a PHP based application to connect to the database, this solution only works for applications using PHP 7.2 or higher. DigitalOcean Managed Databases using MySQL 8+ are automatically configured to use caching_sha2_password authentication by default. caching_sha2_password uses a stronger password encryption than prior versions of MySQL and PHP based applications using PHP 7.1 or older do not support MySQL 8+ password encryption. If your applications are experiencing authentication issues, you can use the Password Encryption option in the control panel to set a user’s password encryption settings to MySQL 5.x encryption settings.
Alternatively, you can connect using MySQL 8.x and issue the following statement, which will change the password type the server will accept for the current user. Replace use_your_user with your MySQL username, and replace use_your_password with the user’s current password. After successfully executing the statement, you should be able to connect to MySQL with a 5.x client or an application that does not support caching_sha2_password :