If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Starting MySQL in Linux (newbie)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-04, 18:35
Demure_Mcclure Demure_Mcclure is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
Starting MySQL in Linux (newbie)

I'm trying to get MySQL to start on a RedHat 7.2 machine. I have a RedHat 9.0 machine that I installed it on and it works fine. But when I try to use the 7.2 machine it doesn't work for some reason.

I type:
/etc/init.d/mysqld start
(this command is what I use when running it on the 9.0 machine)

And get:
The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Please do a cd to the mysql directory and restart this script from there as follows:
./bin/safe_mysqld

This is all done with root.

I had tried to just reinstall the same version I put on the 9.0 machine but it won't let me due to conflicts with MySQL already being on the 7.2 machine. The versions that are being used are 3.23.41 which is on the 7.2 machine and 3.23.58 which is on the 9.0 and also the one that I tried to install on the 7.2

Thanks for any help.
Reply With Quote
  #2 (permalink)  
Old 04-20-04, 05:11
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: Starting MySQL in Linux (newbie)

Quote:
Originally posted by Demure_Mcclure
I'm trying to get MySQL to start on a RedHat 7.2 machine. I have a RedHat 9.0 machine that I installed it on and it works fine. But when I try to use the 7.2 machine it doesn't work for some reason.

I type:
/etc/init.d/mysqld start
(this command is what I use when running it on the 9.0 machine)

And get:
The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Please do a cd to the mysql directory and restart this script from there as follows:
./bin/safe_mysqld

This is all done with root.

I had tried to just reinstall the same version I put on the 9.0 machine but it won't let me due to conflicts with MySQL already being on the 7.2 machine. The versions that are being used are 3.23.41 which is on the 7.2 machine and 3.23.58 which is on the 9.0 and also the one that I tried to install on the 7.2

Thanks for any help.
Folow the instructions:

The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Please do a cd to the mysql directory and restart this script from there as follows:
./bin/safe_mysqld
Reply With Quote
  #3 (permalink)  
Old 04-20-04, 13:52
Demure_Mcclure Demure_Mcclure is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
I did what it says to do and end it looks like it starts but then it ends right after that:

Starting mysqld daemon with databases from /var/lib/mysql
040420 11:50:12 mysqld ended

So when I go to run the program that needs mysql to run it doesn't work still.
Reply With Quote
  #4 (permalink)  
Old 04-21-04, 07:32
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Quote:
Originally posted by Demure_Mcclure
I did what it says to do and end it looks like it starts but then it ends right after that:

Starting mysqld daemon with databases from /var/lib/mysql
040420 11:50:12 mysqld ended

So when I go to run the program that needs mysql to run it doesn't work still.
what the error log says?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On