Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to start mysqld.service: Unit not found

Tags:

mysql

Use systemctl start mysqld to start mysql service, failed error: Failed to start mysqld.service: Unit not found. Use journalctl -xe to see details log, show that: fatal: unable to use my own hostname

so how to solve it, i find some solutions, but can not solve it.

like image 321
xinsen Avatar asked Oct 23 '25 18:10

xinsen


1 Answers

If on Ubuntu try without the 'd'

systemctl start mysql
like image 191
Ashley Wood Avatar answered Oct 25 '25 08:10

Ashley Wood



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!