Jump to content

Error when running mysql from cli or php


Blu_Smurf

Recommended Posts

I get this following error anytime I try to use mysql, and this just started an hour ago. was working finr before

 

error 2002: Can\'t connect to local MySQL server through socket \'/var/lib/mysql/mysql.sock (2)

 

any ideas how to fix this? tried reinstalling mysql didnt work and i made sure the service was started. running on gentoo linux btw.

Link to comment
https://forums.phpfreaks.com/topic/1135-error-when-running-mysql-from-cli-or-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.