Hi, all. Recently, I have been trying to create a little home server website via my macbook. It has gone fairly well, and I even implemented PHP and JavaScript (I'm so proud as a beginner...)! Anyways, as a way to learn more about the security of websites, I installed MySQL onto my computer. Unfortunately, it does not work at all! I always get the error message:
"Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"
I checked the /var/lib/ folder, and found that /mysql/mysql.sock or even just /mysql was there! What could be the problem here?
"Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"
I checked the /var/lib/ folder, and found that /mysql/mysql.sock or even just /mysql was there! What could be the problem here?