LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   MySQL: mysqld start for 2 sec (https://www.linuxquestions.org/questions/fedora-35/mysql-mysqld-start-for-2-sec-430539/)

bato 04-01-2006 12:33 AM

MySQL: mysqld start for 2 sec
 
Hi, I have just installed Fedora Core 5 and some things are different ot gone. I have tried to install mysql from binnary and I have done all the stuff in the readme, but when I am typing the last in the terminal for the start of the mysql daemon I am getting this message:
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
060401 09:27:11 mysqld ended

Why? I cannot undestand. The distro is installed without any mysql or apache modules and programs.Thanks.

michaelsanford 04-01-2006 05:25 PM

The most common reason for this error, in my experience, is that you have either:
(a) have not run mysql_install_db; or
(b) have no `chown'ed /var/lib/mysql to mysql:mysql

But you might have better luck looking at the logs ;) they're in the data/ folder of your mysql installation, called <host>.err

bato 04-03-2006 01:50 PM

re
 
Dude, I have ran the mysql_install_db and everything seemed to be ok, but when I am starting the mysqld daemon from dir /usr/web/mysql where I have installed the mysql and after a while mysqld was stopped by this: /var/run/mysqld/mysqld.pid (in this path I haven't got done anything - may be this is the dafault path where the fedora install the part of mysql rpm) The same result I got when installing the distribution of fedora core 5 without the mysql package.


All times are GMT -5. The time now is 07:24 PM.