Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the error log in mysql

Shulou Source: shulou.com Published: 2022-06-03 17:26:35 11月13日 Update

This article introduces the relevant knowledge of "what is the error log in mysql". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!

The default is on, and error logs cannot be turned off after 5.5.7.

The error log records all serious error messages encountered during the run, as well as details of each MySQL startup and shutdown.

Default error log name: hostname.err

The information recorded in the error log can be defined by log-error and log-warnings, where log-err defines whether to enable the error log function and the storage location of the error log, and log-warnings defines whether to define warning information in the error log.

#can be defined directly as file path or ON| OFF log_error=/var/log/mysqld.log #Use only 1| 0 to define the switch start, the default is to start log_warings=1"mysql error log is what" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

Tags: Errors logs information content more knowledge process practicality learning next location function can pass name dilemma actual situation file article case Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology OPPO Reno Apple Huawei