Newbe with Ubuntu and error message saying MySQL could not get started. Please check if MySQL installed properly

4 posts / 0 new
Last post
KI5WFZ
Newbe with Ubuntu and error message saying MySQL could not get started. Please check if MySQL installed properly

i get this message:
2024-09-28T02:57:00.467848Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.39-0ubuntu0.22.04.1) starting as process 20120
2024-09-28T02:57:00.469761Z 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-09-28T02:57:00.469778Z 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-09-28T02:57:00.483576Z 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: 550be9a3-7d45-11ef-ba44-b8ac6f6c6482.
2024-09-28T02:57:00.496573Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2024-09-28T02:57:00.496826Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2024-09-28T02:57:00.496867Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-09-28T02:57:00.497502Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.39-0ubuntu0.22.04.1) (Ubuntu).

thanks in advance

oh1kh
Newbe with Ubuntu and error message saying MySQL could not get s

Hi!

That is Ubuntu's classic error.
You should have MariaDB instead of Mysql.
For example see this message: https://www.cqrlog.com/comment/11500#comment-11500

--
Saku
OH1KH

KI5WFZ
Thank you.

That solved the problem. What an easy fix.

Bob

Allenwood
HP HPE7-A01 Questions and

HP HPE7-A01 Questions and Answers refer to practice materials designed to help candidates prepare for the Aruba Certified Campus Access Professional Exam (HPE7-A01). These materials typically include sample questions, answers, and explanations covering key topics such as Aruba networking solutions, wireless LANs, access points, security configurations, and network troubleshooting. While these resources can aid in exam preparation, it’s important to also study official HP materials and gain hands-on experience to ensure a thorough understanding of The HP Exam content.