ERROR 2002: Can’t connect to local MySQL server (2)

Things I learn from this error for my case is because permission issue.

  • You can’t use ln –s symbolic link to shift mysql folder, better solution is using mount.
  • After several tries, moving /etc/mysql, /var/lib/mysql and /var/log/mysql. It keep giving me problem no matter how i set the chmod, chgrp and chown.
Advertisements