The SOCKET option is not working with the all option in DBNAMES.
SOCKET option is set in the OPT variable, used to connect to mysql only when dumping.
when connecting to mysql to fetch all the db names, the special value of socket is not given in the options for mysql.
just add that :
OPT_SOCKET=
if [ "$SOCKET" ]; then
OPT_SOCKET=" --socket=$SOCKET "
fi
DBNAMES="`mysql...
2007-02-11 11:38:34 UTC in AutoMySQLBackup