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?
All.