List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:September 19 2001 1:01pm
Subject:Re: Mysql Daemon starts at boot then Terminates??
View as plain text  
Since you failed to check the error log and post it here I can only guess.

chown -R mysql /usr/local/mysql


R Talbot wrote:

> I have deleted the Mysql 3.22.32  install and compiled
> source for and installed Mysql 3.23.40.
> The new installation resides at /usr/local/mysql.
>   Make Test  did fail only    merge....
>>From the command line The daemon starts perfectly with either
> mysql.server start....................or
> safe mysqld &
> 
> but when started by /etc/rc.d/ini.d/mysql.server
>  I see recorded during boot
> Starting mysqld daimon with databases from /usr/local/mysql/var
> Starting rstat services: rpc.rstatd010918 12:55 mysqld ended
>  (what's that all about) and why does it shut down
> I used to start v. 3.22.32 by the same method..
> any HELP!!!
> 
> 
> mysql.server  directory references are
> PATH=/sbin:/usr/sbin:/bin:/usr/bin
> basedir=/usr/local/mysql
> bindir=/usr/local/mysql/bin
> datadir=/usr/local/mysql/var
> pid_file=/usr/local/mysql/var/mysqld.pid
> mysql_daemon_user=root # Run mysqld as this user.
> export PATH
> 
> I copied and the mysql.server to  /etc/rc.d/init.d/
> and then linked
> ln -s /etc/rc.d/init.d/mysql.server /etc/rc.d/rc5.d/S35mysql
> ln -s /etc/rc.d/init.d/mysql.server /etc/rc.d/rc0.d/K01mysql
> 
> Also the end of make install asked me to do the following
> something like
> mysqladmin -u root -p password = newpassword ('data')
> mysqladmin -h mymachine.peer -p password = newpassword ('data')
>  ( I hope I remembered that correctly)
> 
> I am baffled my next step will be entries to my.cnf
> 
> BOb T
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread85809@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-- 
Gerald L. Clark
gerald_clark@stripped

Thread
Mysql Daemon starts at boot then Terminates??R Talbot18 Sep
  • Re: Mysql Daemon starts at boot then Terminates??Gerald Clark19 Sep