Page 1 of 1

How to find mysql log in xampp?

PostPosted: 14. December 2018 10:29
by lynob
I'm on Ubuntu 16.04, Xampp 7.2 64 bit, how to find MySQL logs? I tried all the answers listed here, none worked,

https://stackoverflow.com/questions/3638128/where-can-i-find-the-mysql-log-file-in-xampp

I don't want the error logs, I want mysql logs so I can connect it to Logstash.

Re: How to find mysql log in xampp?

PostPosted: 14. December 2018 11:57
by Nobbie
Xampp does not activate MySQL logging. See https://dev.mysql.com/doc/refman/8.0/en/query-log.html how to enable logs.

I also found this link https://qbox.io/blog/mysql-logs-elastic ... ash-kibana which tells you how to activate MySQL Log and how to connect it to Logstash. For any further support you should ask in a MySQL or Logstash forum, as this is the Xampp Linux forum, we cannot support third party modules like logstash.

Re: How to find mysql log in xampp?

PostPosted: 14. December 2018 13:44
by lynob
Thank you so much!