Following this tutorial, I'm getting

# sudo service mysqld start

Failed to tát start mysqld.service: Unit mysqld.service failed to tát load: No such tệp tin or directory.

asked Nov 11, năm ngoái at 22:31

The mysql daemon in Ubuntu is packaged as mysql, not mysqld.

sudo service mysql start

That's really all there is to tát that one.

answered Nov 11, năm ngoái at 22:31

3

WARNING: This solution will destroy any DB data you have. DO NOT use it if you have DB data you intend to tát keep!

I got stuck with the same issue and I uninstalled and installed again by following the following commands:

  1. sudo apt-get --purge remove mysql-server mysql-common mysql-client.

  2. sudo apt update && sudo apt dist-upgrade && sudo apt autoremove.

  3. sudo apt-get install -y mysql-server mysql-client.

Thomas Ward

77.1k30 gold badges179 silver badges247 bronze badges

answered Jun trăng tròn, 2019 at 14:41

3

You must log in to tát answer this question.

Not the answer you're looking for? Browse other questions tagged

.