raamcm wrote:
Hi Guy's
I am newbie in debian linux. how to start the mysql database.

ERROR 2002: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock'

my package installation.
dpkg -l | grep mysql
ii  cvm-mysql      0.32-1         Credential Validation Modules (mysql)
ii  libdbd-mysql-p 2.9006-1       A Perl5 database interface to the
MySQL data
ii  libmysqlclient 4.0.24-10      mysql database client library
ii  libmysqlclient 4.1.11a-4      mysql database client library
ii  mysql-client   4.0.24-10      mysql database client binaries
ii  mysql-common   4.0.24-10      mysql database common files (e.g.

As the error suggests, you have no server. You have installed the client binaries and libraries, but not the server which actually manages the database.

My installed packages for MySQL are almost the same. Note, however, the addition of mysql-doc and mysql-server. The docs are a good thing, but not required. The server, on the other hand, IS required unless you are connecting to a database on another box that is running the server.

~$ dpkg -l | grep mysql
ii libdbd-mysql-p 2.9006-1 A Perl5 database interface to the MySQL data
ii  libmysqlclient 4.0.24-10sarge mysql database client library
ii  libmysqlclient 4.1.11a-4sarge mysql database client library
ii  mysql-client-4 4.1.11a-4sarge mysql database client binaries
ii mysql-common-4 4.1.11a-4sarge mysql database common files (e.g. /etc/mysql
ii  mysql-doc-4.1  4.1.10a-1      mysql database documentation (4.1 branch
ii  mysql-server-4 4.1.11a-4sarge mysql database server binaries
ii  python-mysqldb 1.2.1c2-1      A Python interface to MySQL

--
Marc Shapiro
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to