Thursday, February 8, 2018

[google-cloud-sql-discuss] Re: mysql connecting error Code: 2004 Message: Can't create TCP/IP socket (97 "Address family not supported by protocol")


Hello Chris,

In order to investigate this issue, I'd recommend reporting this on GCP issue tracker.

 

On Wednesday, February 7, 2018 at 9:08:32 PM UTC-5, Chris Deng wrote:
Hi,

From Feb 2,  mysql error started to appear in Sigma log as below, while no package change has been made, it(borgcron job) runs well before,
and no error either when test from local host, any idea what's the cause? could you help with this? Thanks


mysql:173.194.249.18.


Errors connecting to database returned: 1
*****
Code: 2004
Message: Can't create TCP/IP socket (97 "Address family not supported by protocol")
# by query "INSERT INTO ipdb_audit (netblock,tags,vlan_id,building,prefixlen,attributes,...


python code
with dragonwell_db.DragonwellDbConn() as db:        db.Insert(data, _AUDIT_TABLE, update_dupes=True)        db.Insert(stats_data, _AUDIT_STATS_TABLE, update_dupes=True)

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/ad126d39-1ceb-4d5e-9d40-15171aaf220b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment