Hello.


Are you able to start mysqld without using /etc/init.d/mysql, manually

invoking mysqld_safe or mysqld? From my experience, SELinux can cause

different problems, check if you have it enabled. Follow general

recommendations from:

  http://dev.mysql.com/doc/refman/5.0/en/starting-server.html







dogbert wrote:

> Hi,

> 

> I've a freshly installed linux Box (Fedora Core 4) and I'm trying to

> install a little mysql server.

> 

> I've download the following linux RPM and installed the via rpm -Uvh:

> 

> MySQL-client-5.0.17-0.glibc23.i386.rpm

> MySQL-server-5.0.17-0.glibc23.i386.rpm

> 

> If i launch the server via the following command it run ok:

> 

> [EMAIL PROTECTED] ~]# mysqld_safe &

> [1] 3906

> [EMAIL PROTECTED] ~]# Starting mysqld daemon with databases from

> /var/lib/mysql

> 

> If I try to launch it via /etc/init.d/mysql it gives me an OK but after

> a few seconds the daemon stop:

> [EMAIL PROTECTED] ~]# /etc/init.d/mysql start

> Starting MySQL                                             [  OK  ]

> [EMAIL PROTECTED] ~]# ps -fe |grep -i mysql

> mysql     4718     1  0 11:47 pts/0    00:00:00 /usr/sbin/mysqlmanager

> --user=mysql --pid-file=/var/lib/mysql/mysqlmanager-localhost.pid

> mysql     4851     1  0 11:49 pts/0    00:00:00 /usr/sbin/mysqlmanager

> --user=mysql --pid-file=/var/lib/mysql/mysqlmanager-localhost.pid

> root      4863  2654  0 11:49 pts/0    00:00:00 grep -i mysql

> 

> [EMAIL PROTECTED] ~]# ps -fe |grep -i mysql

> mysql     4718     1  0 11:47 pts/0    00:00:00 /usr/sbin/mysqlmanager

> --user=mysql --pid-file=/var/lib/mysql/mysqlmanager-localhost.pid

> root      4867  2654  0 11:49 pts/0    00:00:00 grep -i mysql

> 

> 

> I've tried to configure the startup script to use mysqld_safe instead of

> mysqlmanager:

> use_mysqld_safe=1

> 

> [EMAIL PROTECTED] ~]# /etc/init.d/mysql start

> Starting MySQL...................................          [FAILED]

> 

> and in the localhost.err i find:

> 051220 11:44:25  mysqld started

> 051220 11:44:28  mysqld ended

> 

> 

> What am I doing wrong ?

> 

> 

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to