Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql-slow failing to parse #2

Open
Ulrar opened this issue Sep 12, 2017 · 2 comments
Open

Mysql-slow failing to parse #2

Ulrar opened this issue Sep 12, 2017 · 2 comments

Comments

@Ulrar
Copy link

Ulrar commented Sep 12, 2017

Hey,

I'm trying to use your mysql-slowlogs but it apparently fails to parse.
For example, the final message sent to the output for my latest test :

# Schema:   Last_errno: 0  Killed: 0 # Query_time: 30.000804  Lock_time: 0.000000  Rows_sent: 1  Rows_examined: 0  Rows_affected: 0 # Bytes_sent: 57 SET timestamp=1505222653; SELECT SLEEP(30);

It doesn't look like what you seem to be matching against, is that for an old version of mysql, or do I maybe miss some setting in the mysql's config for formatting ?

@markwalkom
Copy link
Owner

@jslusher committed that via this PR.

Perhaps they can comment on if it's still valid?

@nicklaw5
Copy link

nicklaw5 commented Oct 2, 2017

After coming across this repository, I managed to modify the configurations found here to suit our needs for MariaDB.

See it here: https://gist.github.com/nicklaw5/7f7297f936c428e55603905122fbd13b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants