Hi,
I made a WordPress instance on compute engine and attempted to set it up with Cloud SQL via Cloud SQL Proxy. I've successfully managed to build the connection as I verified it via 'mysql -u myUser -p -h 127.0.0.1' and connected to the database.
However, the issue comes when I refresh the WordPress website. Everytime I try to load the website (literally just typed and pressed enter via the browser), the terminal shoots out 'Client closed local connection on 127.0.0.1:3306' and then the website fails to load fully having broken links and images.
Can you provide a possible fix for this? Whenever I use the 'mysql' command, it works fine and the connection is not dropping. However, if it's the website itself, I'm encountering this issue.
Any inputs will be greatly appreciated!