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

error in log #471

Closed
unreturned opened this issue Jan 22, 2020 · 2 comments
Closed

error in log #471

unreturned opened this issue Jan 22, 2020 · 2 comments
Assignees

Comments

@unreturned
Copy link
Contributor

Hello, mysqltuner 1.7.19 reports:

-------- Log file Recommendations ------------------------------------------------------------------
[OK] Log file /var/log/mysql/error.log exists
[--] Log file: /var/log/mysql/error.log(31K)
[OK] Log file /var/log/mysql/error.log is readable.
[OK] Log file /var/log/mysql/error.log is not empty
[OK] Log file /var/log/mysql/error.log is smaller than 32 Mb
[!!] /var/log/mysql/error.log contains 10 warning(s).
[!!] /var/log/mysql/error.log contains 5 error(s).
[--] 5 start(s) detected in /var/log/mysql/error.log
[--] 1) 2020-01-22 12:54:02 1406 [Note] /usr/sbin/mysqld: ready for connections.
[--] 2) 2020-01-22 12:52:19 5201 [Note] /usr/sbin/mysqld: ready for connections.
[--] 3) 2020-01-22 12:50:05 4527 [Note] /usr/sbin/mysqld: ready for connections.
[--] 4) 2020-01-22 12:37:59 1346 [Note] /usr/sbin/mysqld: ready for connections.
[--] 5) 2020-01-22 12:09:16 29395 [Note] /usr/sbin/mysqld: ready for connections.
[--] 5 shutdown(s) detected in /var/log/mysql/error.log
[--] 1) 2020-01-22 12:53:06 5201 [Note] /usr/sbin/mysqld: Shutdown complete
[--] 2) 2020-01-22 12:52:18 4527 [Note] /usr/sbin/mysqld: Shutdown complete
[--] 3) 2020-01-22 12:50:01 1346 [Note] /usr/sbin/mysqld: Shutdown complete
[--] 4) 2020-01-22 12:36:35 29395 [Note] /usr/sbin/mysqld: Shutdown complete
[--] 5) 2020-01-22 12:09:10 1306 [Note] /usr/sbin/mysqld: Shutdown complete

[!!] /var/log/mysql/error.log contains 5 error(s).

But in log i see only:

cat /var/log/mysql/error.log | grep -i err
200122 12:09:15 mysqld_safe Logging to '/var/log/mysql/error.log'.
200122 12:37:58 mysqld_safe Logging to '/var/log/mysql/error.log'.
200122 12:50:01 mysqld_safe Logging to '/var/log/mysql/error.log'.
200122 12:52:18 mysqld_safe Logging to '/var/log/mysql/error.log'.
200122 12:53:59 mysqld_safe Logging to '/var/log/mysql/error.log'.
@unreturned
Copy link
Contributor Author

Possible fix #473

@unreturned
Copy link
Contributor Author

Thanks, works!

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

No branches or pull requests

2 participants