SyntaxFix
Write A Post
Hire A Developer
Questions
to answer the first part of your question:
run
% mysqladmin -p -u <user-name> variables
and check the 'socket' variable