Error establishing database connection using REQUIRE X509

[ad_1]

I’ve followed this guide and many others on enabling SSL for MySQL when connecting to a remote host. (https://www.linode.com/docs/guides/configure-wordpress-remote-database/)

However, altering the user to REQUIRE SSL does nothing to check if the certificate is valid. Instead, it’s recommended to use REQUIRE X509 for the database user.

When doing so, WordPress can no longer connect.

I did a remote test just using the MySQL command ‘mysql -u username -h remote -p’ and I’m able to connect fine so I know the certificates are good.

Any suggestions?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer