In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces linux how to view the mysql error log related knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe that everyone after reading this linux how to view the mysql error log article will have a harvest, let's take a look.
Methods: 1, use the "cd / usr/local/mysql/data" command to enter the data directory in the mysql installation directory; 3, use the "ll" command to obtain the files under the directory and find the error log with the suffix ".err"; 3, use the "vim suffix err file" to view the error log.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How does linux view the mysql error log
1. Enter the mysql installation directory
Enter the data directory (which stores data from the database)
Cd / usr/local/mysqlcd / usr/local/mysql/data
2. Use the ll command to view the directory under the file
# ll
3. Enter the mysql directory and find the file suffix .err, which is the mysql running error log.
You can use the vi command to open it to view the most recent error message for analysis and troubleshoot one by one.
This is the end of the article on "how linux views the mysql error log". Thank you for reading it! I believe you all have a certain understanding of "how to view mysql error logs in linux". If you want to learn more, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.