I have a MySQL database on google cloud. I have allowed all IPs to be able to access it in the authorization settings. When I try to connect to it using MySQL workbench on my home internet(or any non-work place internet) it connects fine however when using my workplace internet, I get the following error:
Lost connection to MySQL server at 'reading initial communication packet', system error: 0
How can I solve this? What could be preventing access to the database using work internet?
EDIT 1:
Port used is 3306
It was a firewall issue. I confirmed this with the IT department. If anyone else has this problem I would recommend doing the same.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.