How to find mysql log in xampp?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How to find mysql log in xampp?

Postby lynob » 14. December 2018 10:29

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.
lynob
 
Posts: 2
Joined: 14. December 2018 10:11
XAMPP version: 7.0.2
Operating System: ubuntu

Re: How to find mysql log in xampp?

Postby Nobbie » 14. December 2018 11:57

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.
Nobbie
 
Posts: 11149
Joined: 09. March 2008 13:04

Re: How to find mysql log in xampp?

Postby lynob » 14. December 2018 13:44

Thank you so much!
lynob
 
Posts: 2
Joined: 14. December 2018 10:11
XAMPP version: 7.0.2
Operating System: ubuntu


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests