MySQL Logs
The following directory and log locations are essential for diagnosing database performance issues, connection errors, or service crashes.
Data File Location
The primary data files for your MySQL/MariaDB instances are stored at:
/var/log/LxRoot/mysql-data
Warning
To prevent data corruption, all MySQL operations and file manipulations should be performed within the mysqlcd container. Avoid modifying files in the data directory directly from the host OS unless instructed by support.
Viewing Service Logs
To view the real-time engine logs (including startup errors and InnoDB monitors), use the following command:
docker logs -f mysqlcd