Hello Mohit,
There could be various reasons for receiving the error message “(2013, "Lost connection to MySQL server at 'handshake: reading initial communication packet', system error: 11")” which you have shared.
It is difficult to determine the root cause and provide work around to resolve the issue without inspecting your Google Cloud Platform project, Stackdriver Logging Logs and internal monitoring tools.
I have tried to look for Project which might be associated with your email address associated with this post internally where I have seen so many projects that are associated with the email. Due to that it was not possible to identify the project in question.
I have tried to do some search and have found this
StackOverflow thread where the user encountered similar error like yours and a workaround was suggested to make sure to use 3306 port connect to Cloud SQL instance.
If this does not resolve the issue or if you think this is not the issue you can create a Cloud SQL Public Issue under “Storage and Databases” section by going
here. Please select the private component in case you need to share any project specific information, so that is not visible to the public. One of the Google Cloud Platform Support Agent will assist you to resolve your issue.
Please note that
Google Groups is only meant for general discussion related to Google Cloud Platform products which are not technical in nature, service status updates and release notes, and ranging from book recommendations to creative shortcuts.