Synchronize two databases with phpmyadmin - what is the 'socket' for this operation?
I want to synchronize two databases (one on my localhost and s开发者_如何学JAVAecond on my server) using phpmyadmin (on my server) and I must fill in a configuration field which is named "socket".
What is this?
this is for a unix socket on the local machine, default is /tmp/mysql.sock, but you can check it out by issue netstat -a | grep mysql to find out the exact one running on your machine.
You can leave the socket field blank.
Still in case you would like to determine the correct socket, check your MySQL configuration or, using the mysql command–line client, issue the status command. Among the resulting information displayed will be the socket used.
精彩评论