Home WebServer PanelCyberPanel Fixes[ERROR] Can’t init tc log on MySQL service

Fixes[ERROR] Can’t init tc log on MySQL service

by Quân Đỗ Trung
Published: Last Updated on
A+A-
Reset

Today’s article AZDIGI will guide you to fix the error of MySQL not starting because of the line[ERROR] Can't init tc log . This error often occurs when your VPS Server is full. And after you handle the full capacity, you need to delete the following file to restart the service.

The image below is the message when checking the status of the mysql service

CleanShot 2024 01 08 at 17.12.39

Please delete the tc.log file with the following command

AZDIGI Tutorial
rm -rf /var/lib/mysql/tc.log
    

Then perform a restart of the mysql/mariadb service. And the result was to fix this error.

AZDIGI Tutorial
systemctl restart mariadb.service
systemctl status mariadb.service
    
CleanShot 2024 01 08 at 17.14.55

Wishing you success!

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign