[ERROR] Mysql Failed to find valid data drectory [ERROR] Data dictionary initialization failed.

2 posts / 0 new
Last post
K5LY
K5LY's picture
[ERROR] Mysql Failed to find valid data drectory [ERROR] Data dictionary initialization failed.

Recently upgraded from Ubunto 22.04 to Ubuntu 24.04, having problem accessing CQRlog database.
Any suggestions how I may resolve this problem.

K55LY, Lee
K5LY@att.net
Thanks,

Mysql.err

2025-06-21T19:57:53.368009Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.42-0ubuntu0.24.04.1) starting as process 73041
2025-06-21T19:57:53.373657Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2025-06-21T19:57:53.373906Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-06-21T19:57:53.373926Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-06-21T19:57:53.374259Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.42-0ubuntu0.24.04.1) (Ubuntu).
2025-06-21T20:17:29.349355Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.42-0ubuntu0.24.04.1) starting as process 3503
2025-06-21T20:17:29.905284Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2025-06-21T20:17:29.908573Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-06-21T20:17:29.908626Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-06-21T20:17:29.932636Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.42-0ubuntu0.24.04.1) (Ubuntu).

oh1kh
[ERROR] Mysql Failed to find valid data drectory [

HI!
Error can be found from your Mysql.err file:

"(mysqld 8.0.42-0ubuntu0.24.04.1) starting "

You should install MAriaDB instead.
There are many thread in this forum about this. You can also try this install script: https://github.com/OH1KH/CqrlogAlpha/blob/main/compiled/install_Ubuntu22...

From same source you can also find some other documents that may be useful.
https://github.com/OH1KH/CqrlogAlpha/tree/main/compiled

--
Saku
OH1KH