MySql problems

Archived topics about LMDE 1
Forum rules
Level 1
Level 1
Posts: 1
Joined: Wed Feb 15, 2012 7:29 am

MySql problems

Postby roboticist » Wed Feb 15, 2012 7:44 am

I just installed LMDE for the first time and ran into a snag trying to install/configure LAMP.

Mind you, this boots up from a 60GB USB drive. (I used to use Ubuntu but wanted a more Debian installation.)

When I try to run

mysql -u root

I get:

ERROR 2002 (HY000): Can't connect to MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I've installed the server and the client, but can't seem to start mysqld. ps verifies it is not running. Any suggestions?


User avatar
Level 6
Level 6
Posts: 1234
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Midwest USA at /var/www

Re: MySql problems

Postby DataMan » Wed Feb 15, 2012 1:46 pm

Just on the wild side, did you try re-booting to see if it comes up?

Did you do a conventional install as in:

Code: Select all

sudo apt-get install  apache2  php5  libapache2-mod-php5

sudo apt-get install  mysql-server mysql-client  php5-mysql


Code: Select all

sudo apt-get install phpmyadmin

Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015

Return to “Archive”

Who is online

Users browsing this forum: No registered users and 2 guests