I'm running Fedora 19 and I have installed MySQL using
yum install mysql.
When I issue the
mysql command, I get the following error message:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
If I do create the /var/lib/mysql/mysql.sock file the number after the error message change to
(111) (it is possible that I have created the file with wrong permissions).
Redirecting to /bin/systemctl start mysqld.service Failed to issue method call: Unit mysqld.service failed to load: No such file or directory. See system logs and 'systemctl status mysqld.service' for details.
service mysqld status returns
Redirecting to /bin/systemctl status mysqld.service mysqld.service Loaded: error (Reason: No such file or directory) Active: inactive (dead)