Question to Percona Support:
Hello, Dear Percona
I download the Percona-Server-5.6.14-rel62.0-483.Linux.x86_64.tar from the percona.com.
When I tar this file and try to execute the mysql command, it gives me the error
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
But in my my.cnf, I set the sock=/var/lib/mysql/mysql.sock.
I know that if I make a link-file to point this real socket file in the /var/lib/mysql dir can reslove this problem.
But I want to know how the /app/mysql/bin/mysql to executed. Why it find the socket file from the /tmp dir.
Is this can be configure in the Percona or in the RedHat System?
Below is my uname -a result:
2.6.32-262.el6.x86_64 #1 SMP Sun Apr 8 18:38:00 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
I am waiting for your apply, thanks a lot!