if the database that you need to backup is not in your own PC, use the -h parameter with mysqldump and pass the host ip or fqdn of the PC in which the database resides. eg : mysqldump -h 192.168.1.30 -u username_with_external_access -p db_name > db_name.sql
if the database is in the same PC, then you still have problems as the local mysql service is not running. check logs (syslog , mysql log) to see why its not running and attend to that. On Mon, Aug 12, 2013 at 5:58 AM, Ethan Rosenberg, PhD <erosenb...@hygeiabiomedical.com> wrote: > On Friday 09 August 2013 19:51:25 Bob Proulx wrote: >> >> Ethan Rosenberg, PhD wrote: > > <snip> > > Further, I tried to run mysql and receive the following message- > > ERROR 2002 can't connect to local mysql server thru socket > '/var/run/mysqld/mysqld.sock' (2) > > TIA > > Ethan > > =========================== > Dear List - > > I now have a desktop, using xfce. > > I now have mysqldump. > > The following is ABSOLUTELY CRITICAL! > > I have to backup a database so I can install it on another computer > > When I try to to run mysqldump, I receive the following message: > > > ERROR 2002 can't connect to local mysql server thru socket > '/var/run/mysqld/mysqld.sock' (2) > > TIA > > Ethan > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject > of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/52082c31.8070...@hygeiabiomedical.com > -- The mysteries of the Universe are revealed when you break stuff. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAM8yCh_XNAcO8exYpuwD=odvb8ie1+qcmqvfs2f_flftow4...@mail.gmail.com