|
Prev: pppd error 10
Next: Force growisofs to use lower speed
From: raamcm on 25 Nov 2005 00:00 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. /etc/mysql Thanks for advance, -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Marc Shapiro on 25 Nov 2005 03:20 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 mshapiro_42(a)yahoo.com -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: marzubus on 25 Nov 2005 03:30 apt-get install mysql-server /etc/init.d/mysql start That should do it. Kegan Holtzhausen -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
|
Pages: 1 Prev: pppd error 10 Next: Force growisofs to use lower speed |