Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-13-2004, 05:57 PM   #1
LQ Newbie
Registered: May 2004
Location: Portland, OR
Distribution: debian 'woody'
Posts: 23

Rep: Reputation: 15
MySQL server installation on Debian

I have a new installation of Debian woody, upgraded to 2.4.26. I ran apt-get install mysql-server mysql-client, and it appears to install properly and without complaint until the very end when it tries to start the daemon, and the following occurs:

# /etc/init.d/mysql restart
Stopping MySQL database server: mysqld
Starting MySQL database server: mysqld...failed

I've repeated the install numerous times and tried other variations, all to the same result. I can't get the MySQL server running. No logs appear to be created that explains what happened, at least that I can find. Any suggestions?
Old 08-14-2004, 09:17 AM   #2
Registered: Sep 2003
Distribution: Woody, SuSE, RH, LAS
Posts: 55

Rep: Reputation: 15
If it was my box and I didn't know what was going on, I would try
find /var/log |xargs grep mysqld
to search within log files. Maybe you already tried that, but I can't imagine it not logging something somewhere. You may need to give grep a -h switch to show file names.

Good luck.

Never offend Microsoft with insults when you can offend them by using debian.
Old 09-25-2004, 07:17 AM   #3
LQ Newbie
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
are you root?
Old 09-25-2004, 03:06 PM   #4
LQ Newbie
Registered: Sep 2004
Location: estonia
Distribution: debian
Posts: 21

Rep: Reputation: 15
Havent really tryed apt-getting mysql, ive allways build from source. Its quite easy if you follow installation instuctions AND post installation instructions HERE and use some brain

but try to:
mysqld --user=mysql

if you cant be arsed building it, try in case to follow post installation instruction anyway, they might help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 03:13 PM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 02:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
debian installation on hp server neophyte_linux Debian 1 05-18-2005 04:04 PM
probs running MYSQL-SERVER on debian bennethos Debian 4 10-30-2004 09:10 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration