failed to start mysql.service unit mysql.service not found. fedora
#check status after then run this cmnd
systemctl status mysqld.service
× mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2021-09-04 09:33:31 IST; 1h 58min ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Main PID: 1056 (code=exited, status=1/FAILURE)
Status: "Server startup in progress"
CPU: 2.465s
Sep 04 09:33:26 fedora systemd[1]: Starting MySQL Server...
Sep 04 09:33:31 fedora systemd[1]: mysqld.service: Main process exited, code=exited, status=1/FAILURE
Sep 04 09:33:31 fedora systemd[1]: mysqld.service: Failed with result 'exit-code'.
Sep 04 09:33:31 fedora systemd[1]: Failed to start MySQL Server.
Sep 04 09:33:31 fedora systemd[1]: mysqld.service: Consumed 2.465s CPU time.
----------------------------
sudo systemctl enable mysqld
sudo systemctl start mysqld