Connecting to Google Cloud SQL from Local site fails

Issue Summary

When trying to connect to Google Cloud SQL from a Local site, I get this error:

An error occurred while connecting to the database. The error reported by the server was: SQLSTATE[HY000] [1045] Access denied for user ‘username’@‘my_mac_ip’ (using password: YES)

I can connect using MySQLWorkbench using the username and password that Local uses. And the site on WPEngine has no problems accessing the site. I’ve whitelisted my local IP address. Just wondering what I’m missing.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.