Home  >  Article  >  Operation and Maintenance  >  View mysql running error log in linux environment

View mysql running error log in linux environment

王林
王林Original
2019-12-03 10:53:295665browse

View mysql running error log in linux environment

1. Enter the mysql installation directory, and then enter the data directory (this directory stores the data of the database)

View mysql running error log in linux environment

Online video Tutorial recommendation: linux video tutorial

2. After entering the data directory, you can find two subdirectories: mysql test (it can be seen that mysql data storage is stored separately according to different user-defined databases) )

View mysql running error log in linux environment

3. Enter the mysql directory and find the file suffix .err, which is the mysql running error log, which can be opened with the vi command for analysis.

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of View mysql running error log in linux environment. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn