Database not connecting

4 posts / 0 new
Last post
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).

farareaa
game

Problem-solving in games snake io stimulates the brain to think outside the box, enhancing creativity.

oh1kh
Database not connecting

HI
That is common Ubuntu error.
See this message and links of it.

https://www.cqrlog.com/comment/12317#comment-12317

--
Saku
OH1KH

Angel17
Great

Authentication problems often arise when the username or password provided for the database connection is incorrect. Visit this for more information chicago jet