Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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.
go to sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
just remove the “require_secure_transport = on” than sudo systemctl restart mysql
now you can check login from webserver to database server
I do not believe the answer above is sufficient, if you want to establish an encrypted connection between your database server and web server.
I dealt with the same problem and solved it by changing the ownership of the generated ca.pem, server-cert.pem and server-key.pem files from root to mysql.