LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MySQL server not starting (https://www.linuxquestions.org/questions/linux-software-2/mysql-server-not-starting-57724/)

bige 05-01-2003 07:43 PM

MySQL server not starting
 
i was wondering.... I just got done installing mysql server from source and it won't start it just gives me this:

Quote:

root@myPCsux:/usr/local/mysql/bin# Starting mysqld daemon with databases from /usr/local/mysql/var
030501 19:19:27 mysqld ended
never had this problem. I am using slackware 9.0, where is the config file by the way, Its not in /etc

any help is appreciated.

Hangdog42 05-01-2003 08:24 PM

A few questions:

How are you starting the server? I use mysqld_safe & and it works without a problem.

Also, did you set up root as a user? If not, try starting with mysqld_safe --user=mysql &

Finally give this a read.

markus1982 05-02-2003 02:25 AM

The .err file (like markus.err if your hostname is markus) will contain valueable information that will help you to fix your problem!

bige 05-02-2003 07:13 AM

can't find ./mysql/host.frm
 
hey thanks for the help... Ya i am trying to start it w/ "mysqld_safe &" and also "mysqld_safe -user-mysql &" but it doesn't go... I think the answer lies in what markus was saying. When I look into the .err file it reads:
Quote:

030501 18:23:44 mysqld started
030501 18:23:44 /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
030501 18:23:44 mysqld ended
what is host.frm anyways...

bige 05-02-2003 07:25 AM

I GOT IT
 
hey guys I got it. I did a little chowning and chgrping and it worked.

to be exact: chown root /usr/local/mysql
chown mysql /usr/local/mysql/var
chgrp mysql /usr/local/mysql

started it up and set my password and stuff is now running great. Thanks for your guys' help i would have never found out w/o ya.. Thanks marcos for the tip on the error message. I will have to remember that one. THANKS AGAIN.

RussellEast 07-02-2003 06:19 PM

this thread was really helpful - thanx!


All times are GMT -5. The time now is 12:56 PM.