Friday, September 6, 2019

login - After installing mysql-server, and doing $mysql, mysql won't start. Mysqld.sock missing

First, I installed mysql-server



Next, I did





$mysql




I was going to add a database and edit some stuff.



But I got this error:




ERROR 2002 (HYOOO) : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)





How do I fix this? Thanks for your time



Edit #1: I did this command:




$sudo service mysql start





And I got this back:




start: Unknown Job: mysql




Help?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...