Jump to content


mysql-server loads then automaticly ends

  • Please log in to reply
1 reply to this topic

#1 cwynnd

  • Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 September 2003 - 09:37 PM

RH 9

groupadd mysql
useradd -g mysql mysql
unzipped mysql-standard-4.0.15.pc-linux-i686.tar.gz in /usr/local/mysql directory
chow -R root
chown -R mysql data
chgrp -R mysql

these are all the steps outlined for installing
as I understand I should be able to execute mysql as follows

[root@localhost bin]# ./safe_mysqld user=mysql &
[1] 2322
[root@localhost bin]# Starting mysqld daemon with databases from /var/lib/mysql
030926 16:24:30 mysqld ended
[1]+ Done ./safe_mysqld user=mysql

it seems to run and then automaticly end ?

then there is the method to start the server

[root@localhost support-files]# ./mysql.server start
Can\'t execute ./bin/mysqld_safe from dir /var/lib

I\'ve tried installing from a rpm with no luck so I turned to trying to install and run from the binary, besides the binary is a newer versiton that what I\'ve found in the rpm format.


thank you

#2 effigy

  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 27 September 2003 - 02:50 AM

you may need to add a datadir switch to the startup command:


also, check the hostname.err file under the data directory to gather more information on why this is happening...
Regexp | Unicode Article | Letter Database

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users