I want to run a website from my computer. I use XAMPP on a Kali Linux.
I installed MySQL server with the command:
I tried my password several times, with no changes just to check if I have typed it wrong the first time.
Can anyone tell me how to fix this? I am following a tutorial from this site .
apt-get install mysql-server
After it was successfully installed, I entered the command mysql_secure_installation
It prompted me to login to MySQL, but it repeatedly gave the error
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Asked by XIII
(17 rep)
Apr 3, 2016, 12:19 AM
Last activity: Apr 29, 2025, 02:04 AM
Last activity: Apr 29, 2025, 02:04 AM