I have installed MySQL from Ubuntu software center, MySQL client and MySQL workbench as well.
the problem is I cannot do anything but to call sudo mysql start
and sudo mysql stop
when i try to run the following command sudo /usr/bin/mysql_secure_installation
i am prompted to enter the root password, i didn't set the root password so i just clicked 'Enter'
I got the following
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I went to /var/run/mysqld
and i have found that it is completely empty.
Update
I don't know if that would help, but I have tried to find the PID file by using find / -type f -name "*.pid"
command . I haven't found any files related to mysql with the extension .pid