How do we retrieve the log file path(error log, Slow query log and General log) in Google Cloud SQL?
56 views
Skip to first unread message
Sandhya Sriraj
unread,
Jun 5, 2018, 9:03:13 AM6/5/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud SQL discuss
I am writing an API to fetch the MySQL Log files in Google Cloud SQL. Is there any way to retrieve the log path? I can see that the file names are mysql.err, mysql-general.log and mysql-slow.log from the log viewer interface. Is it possible to change the file path in Google Cloud SQL or is it fixed?
Taher (Cloud Platform Support)
unread,
Jun 6, 2018, 1:54:38 PM6/6/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud SQL discuss
Hello Sandhya,
Thanks for your question. I found that the question was asked in Stackoverflow and it already has e good answer there. Hope that helps.