LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-12-2004, 06:27 PM   #1
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Angry Mysql daemon error


Im running FC2 and if i change the root password from nothing to *****
and then i restart mysql i get a :

Timeout error occrred trying to start mysql daemon

if i change it back to no password then the error goes away.


What can i do to fix this security problem.
 
Old 08-12-2004, 09:36 PM   #2
retep
Member
 
Registered: Sep 2003
Distribution: RedHat/Debian
Posts: 50

Rep: Reputation: 15
Wierd.

Are you changing the Linux root user password? Or the mysql root user?

What do the mysql error logs say?
 
Old 08-12-2004, 10:17 PM   #3
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
Angry

im changing the mysql root user.


mysql -u root
mysql> SET PASSWORD FOR ''@'localhost' = PASSWORD('*****');
Query OK, 0 rows affected (0.00 sec)

then i restart mysql and i get the error.

Timeout error occrred trying to start mysql daemon

PS:Im not getting nothing on the log..
 
Old 08-25-2004, 06:20 PM   #4
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
Unhappy

Anyone?
 
Old 10-21-2004, 07:56 PM   #5
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
i try this and still get the same ..

A Common Fedora Core MySQL Startup Error
You may notice that you can start MySQL correctly only once under Fedora. All subsequent attempts will give a "Timeout error occurred trying to start MySQL Daemon" error.


this is caused by the MySQL startup script incorrectly attempting to do a TCP port "ping" to contact the server. The solution to this is to:


Edit the script /etc/rc.d/init.d/mysqld

Search for the two "mysqladmin" lines with the word "ping" in them and insert the string "-u $RANDOM" before the word "ping" like this:



if [ -n "`/usr/bin/mysqladmin -u $RANDOM ping 2> /dev/null`" ]; then

if !([ -n "`/usr/bin/mysqladmin -u $RANDOM ping 2> /dev/null`" ]); then



o Restart MySQL



Helpp
 
Old 10-22-2004, 03:17 PM   #6
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
Arrow Issue Resolved

I just updated to the latest mysql.
 
  


Reply


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
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 07:23 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
MySQL Daemon doesn't run stedo Debian 1 11-23-2005 09:07 AM
Starting Up MySQL daemon tuka Linux - Software 2 08-06-2003 12:45 PM
can't start mysql daemon IceGrill Linux - Software 3 07-29-2003 08:16 PM


All times are GMT -5. The time now is 12:25 AM.

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