[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing mysqldump



Ethan Rosenberg, PhD wrote:
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)

That tells me that you do not have mysql running.

I am a newbie and do not lhow to interpert the log.

What now?

What is the output of these commands?

  env COLUMNS=80 dpkg -l | grep mysql-server

Should say:

ii mysql-server 5.5.31+dfsg- all MySQL database server (metapackag ii mysql-server-5 5.5.31+dfsg- amd64 MySQL database server binaries an
  ii  mysql-server-c 5.5.31+dfsg- amd64    MySQL database server binaries

This one needs root:

  service mysql restart

Should say:

  Stopping MySQL database server: mysqld.
  Starting MySQL database server: mysqld ..
Checking for tables which need an upgrade, are corrupt or were not closed cleanly..

Bob
=========

Bob -

Thanks.
++++++++++++
env COLUMNS=80 dpkg -l | grep mysql-server

iU mysql-server 5.5.31+dfsg-0+wheezy1 all MySQL database server (metapackage depending on the latest version) rc mysql-server-5.1 5.1.66-0+squeeze1 i386 MySQL database server binaries and system database setup iF mysql-server-5.5 5.5.31+dfsg-0+wheezy1 i386 MySQL database server binaries and system database setup ii mysql-server-core-5.5 5.5.31+dfsg-0+wheezy1 i386 MySQL database server binaries
+++++++++++++

service mysql restart



Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
+++++++++++++++

TIA

Ethan

Attachment: signature.asc
Description: PGP signature


Reply to: