Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installation problem on Linux : mysqld ended

Status
Not open for further replies.

JoSno

Programmer
Apr 11, 2003
45
GB
Hi guys,

I've searched through this forum for answers but whilst people have often been in the same situation as me nobody has ever given an answer, so I'm asking it again.

I've downloaded and installed the server, client and shared-compat rpm's.

I run bin/mysql_install_db with no problems.

I then run bin/mysqld_safe (background) but straight away it drops out saying "mysqld ended".

Obviously then whenever I try to run mysqladmin or mysql it tells me...

"bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!"

Any ideas? Is it a permissions problem? I've also tried setting the root password but I don't know if it's worked because the mysqld daemon isn't running.

Please help!!

Jo
 
didn't you try "/etc/init.d/mysql &" or "mysqld &" ?

 
Isn't mysqld& exactly the same file, just picked up from the path rather than me executing it directly using a fully qualified path, or indirectly from mysqld_safe?

As for mysql itself well that's my problem. It won't run because the daemon isn't running.

Cheers
Jo
 
what does the myslq log say about it ? also any system messages regarding why the daemon fails to start ?


______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
ah well I'll look at that tonight and get back to you.

there are no messages prompted as to why it's failing though

Jo
 
Normally, if a process fails to start correctly it will be reported in /var/log/messages and or /path/to/mysql/ servername.err or servername.log

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top