can't connect to local mysql server through socket..................
i am new member for this forum, i am doing copy data from virtualbox A centos machine to virtualbox B centos machine.
first step i use mysqldump database xxx > xxx.sql
than send to B machine by scp xxx.sql @B machine IP /root.
but come to third step, the xxx.sql need import to B machine mysql database,the error occur again:
# can't connect to local mysql server through socket 'opt/lampp/lampp/mysql/mysql.sock
i really dun know how to solve it, use almost 3 hour cannot do solve it,
but i use win scp check the folder, i found mysql.sock is no at the
/opt/lampp/lampp/mysql/mysql.sock but at
i dun know how to continue it, i hope those centos user help me to overcome
the issue. thank you very much!
centos version 5.5, xampp version 1.4
Last edited by cheeliong; 08-10-2011 at 02:35 AM.
Reason: solve the problem