Database not connecting

1 post / 0 new
AC5PW
Database not connecting

this is what I'm getting when I start the program can anyone help with a fix for this.

2024-03-09T18:53:22.579823Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.36-0ubuntu0.22.04.1) starting as process 3500
2024-03-09T18:53:22.582265Z 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.
2024-03-09T18:53:22.582293Z 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.
2024-03-09T18:53:22.592586Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2024-03-09T18:53:22.592788Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2024-03-09T18:53:22.592827Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-09T18:53:22.593586Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.36-0ubuntu0.22.04.1) (Ubuntu).
2024-03-10T16:37:24.752402Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.36-0ubuntu0.22.04.1) starting as process 4151
2024-03-10T16:37:24.862977Z 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.
2024-03-10T16:37:24.863022Z 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.
2024-03-10T16:37:25.070915Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2024-03-10T16:37:25.071121Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2024-03-10T16:37:25.071160Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-10T16:37:25.071998Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.36-0ubuntu0.22.04.1) (Ubuntu).