Bug 36919 - mysql daemon won't start
Summary: mysql daemon won't start
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mysql
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Patrick Macdonald
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-20 22:54 UTC by Joseph S. Berrios
Modified: 2007-04-18 16:32 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-04-20 23:40:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Joseph S. Berrios 2001-04-20 22:54:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2smp i686)


When I try to run the command 'safe_mysqld' in my system, it terminates and
the daemon does not get to start.

Reproducible: Always
Steps to Reproduce:
1.Type in the command prompt:  safe_mysqld &
2.
3.
	

Actual Results:  Starting mysqld daemon with databases from /var/lib/mysql
010420 18:46:53  mysqld ended


Expected Results:  I expect to get the mysqld up and running

Comment 1 Trond Eivind Glomsrxd 2001-04-20 23:19:34 UTC
"/etc/init.d/mysqld start" or "service mysqld start"

Comment 2 Joseph S. Berrios 2001-04-20 23:40:08 UTC
after I execute the command:  "/etc/init.d/mysqld start"
I get the following message:  
Starting MySQL:                                            [  OK  ]

if I try to test if the daemon is running, I type the following command:
 "ps -aux | grep mysql"

I get the following response:
root      2515  0.0  0.0  1620  600 pts/4    S    19:30   0:00 grep mysql


Also if I try to execute:  "mysqladmin -u root -p password 'new-password'"
I get the following output:

Enter password: 
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock'
exists!




Comment 3 Trond Eivind Glomsrxd 2001-04-23 14:29:18 UTC
This does not occur in a fresh, non-configured install, so it's likely you've
done some misconfiguration.

Move your configuration files out of the way, and if this doesn't work, move
your databases (make sure /var/lib/mysql/ is empty) and start again. Then work
your way up until you see what's not working.


Note You need to log in before you can comment on or make changes to this bug.