Tuesday, July 12, 2016

Re: [google-cloud-sql-discuss] Is it possibile to view in StackDriver logging all sql queries that runs on Cloud SQL second generation?


How to get rid of mysql.general_log table to free up storage? Removing flags has no effect and DROP, TRUNCATE or DELETE is not allowed.

Holger


Am Dienstag, 26. April 2016 18:53:06 UTC+2 schrieb David Newgas:
If you want to view all queries that run, you must set general_log=TRUE and log_output=TABLE following https://cloud.google.com/sql/docs/mysql-flags. The output is stored in the mysql.general_log table, and is in CSV format.

--
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/79f66759-0110-41c5-8e0c-16e517419421%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment