Thursday, April 12, 2018

[google-cloud-sql-discuss] Re: We need to turn the general log

Cloud SQL logs are sent to Stackdriver Logging, where they can be viewed in the Console and retrieved via API.  To enable database logging in Cloud SQL, please follow these steps.  For example, to enable general query logging (set slow_query_log flag to 'On') and enable logging to Stackdriver Logging (set log_output flag to 'File') on their Cloud SQL instance.

On Wednesday, April 11, 2018 at 8:42:15 AM UTC-7, Vishva Kumara wrote:
Two of out projects are experiencing a serious problem and we need to log all SQL queries. For this we need to enable the mysql general log. But this needs Super privileges.

Please help us getting this sorted out. I hope someone from support team can contact me.


Thank you.

--
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/da540000-f6cd-4bd6-9e8d-414cf42a8a74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment