LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-17-2006, 04:45 PM   #1
Fayble
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 12

Rep: Reputation: 0
MySQL start problem


I successfully installed RPM of mysql-server, mysql-client, mysql-shared on my Fedora Core 5.

Starting MySQL with: /etc/init.d/mysql start returns me FAILED.

So, I type: mysqld_safe &: MySQL is now up and running. I can now stop it. But, If I stop and try to restart MySQL fails back.

I've to start always by mysql_safe &!

What is wrong?
 
Old 04-17-2006, 10:46 PM   #2
mailbinoy
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Rep: Reputation: 0
can u post the output for the following commands
/etc/ini.d/mysql resrart
which safe_mysqld
does mysql prompt come up after u start mysql with safe_mysqld and run mysql
 
Old 04-18-2006, 12:06 PM   #3
Fayble
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 12

Original Poster
Rep: Reputation: 0
This is the output:
Code:
[root@localhost ~]# mysqld_safe &
[1] 2959
[root@localhost ~]# Starting mysqld daemon with databases from /var/lib/mysql

[root@localhost ~]# /etc/init.d/mysql restart
Shutting down MySQL..STOPPING server from pid file /var/lib/mysql/localhost.localdomain.pid
060418 18:59:34  mysqld ended

                                                           [  OK  ]
Starting MySQL...................................          [FALLITO]
[1]+  Done                    mysqld_safe
[root@localhost ~]# mysqld_safe &
[1] 3127
[root@localhost ~]# Starting mysqld daemon with databases from /var/lib/mysql

[root@localhost ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.0.20-standard

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> exit
Bye
[root@localhost ~]#
Thanks for your help.
 
Old 04-18-2006, 01:16 PM   #4
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Rep: Reputation: 15
Have you checked /var/lib/mysql/mysqld.log for any specific error codes?
 
Old 04-19-2006, 12:45 AM   #5
Fayble
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 12

Original Poster
Rep: Reputation: 0
Trying to start MySQL:
Code:
[root@localhost ~]# /etc/init.d/mysql start
Starting MySQL...................................          [FALLITO]
[root@localhost ~]#
And this is my last entry for /var/lib/mysql/localhost.localdomain.err:
Code:
060419 07:38:35  mysqld started
InnoDB: Error: pthread_create returned 13
060419 07:38:36  mysqld ended
 
  


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
MySQL - Timeout error occurred trying to start MySQL Daemon. stuartornum Linux - Software 3 02-26-2006 12:54 PM
MySQL start problem!! skate Linux - Software 9 06-23-2005 06:46 AM
mysql start problem jelgavchik Linux - Software 15 03-30-2005 08:20 AM
mysql start problem TiCkO Linux - Software 3 02-17-2004 11:20 PM
mysql - problem with start and password CharlesButters Linux - General 0 11-09-2001 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 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
Open Source Consulting | Domain Registration