Wednesday, January 23, 2019

[google-cloud-sql-discuss] running mysqlcheck: can't connect

With an sql instance running, in the shell when I run mysqlcheck db.sql I get
mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") when trying to connect

I'm running this to find why my db won't import by process of elimination. My simplified version of it isn't even Application/x-sql type.

--
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/950b3d66-edd4-46f6-b188-70643ce1af71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment