MySQL could not be started - help request

2 posts / 0 new
Last post
MySQL could not be started - help request

getting an error while installing on ubuntu 22.04 LTS please check the log & help me to resolve it.

2022-09-12T19:25:39.011310Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.30-0ubuntu0.22.04.1) starting as process 15512
2022-09-12T19:25:39.061697Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2022-09-12T19:25:39.061720Z 0 [Warning] [MY-013244] [Server] --collation-server: 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
2022-09-12T19:25:39.079113Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: af1bd72e-32d0-11ed-83a5-90a4de721868.
2022-09-12T19:25:39.100459Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2022-09-12T19:25:39.101312Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-09-12T19:25:39.101374Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-09-12T19:25:39.103676Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.30-0ubuntu0.22.04.1) (Ubuntu).