D
D
Denis Mustafin2018-08-26 20:03:08
MySQL
Denis Mustafin, 2018-08-26 20:03:08

How to fix mysql issue in ubuntu 18.04 LTS?

When trying to start Mysql through the terminal with the command '/etc/init.d/mysqld start', it says that the file was not found. Any attempt to enter mysql will result in the error 'ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aleksey Klimenko, 2018-08-26
@Santorio

systemctl status mysql.service
systemctl start mysql.service

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question