Sample Header Ad - 728x90

Google Cloud SQL MySQL 8.0 only accepting connections after external connection

0 votes
0 answers
17 views
I upgraded mysql from 5.7 to 8.0.37 on GCP Cloud SQL. Now, when the db is restarted (manually or for maintenance), it does not accept connections from a GCP Cloud Run Java server with this error: java.sql.SQLException: Access denied for user Only when I log in via some external tool (IntelliJ DataGrip JDBC in my case) everything suddenly starts to work as soon as the connection is established. What could be the problem?
Asked by cputoaster (101 rep)
Oct 31, 2024, 08:16 AM
Last activity: Oct 31, 2024, 08:27 AM