[ILUG] Re: RedHat 7.1 & MySQL- Starting MySQL

From: Vincent Cunniffe (vincent at domain cunniffe.net)
Date: Mon 17 Sep 2001 - 00:11:13 IST


Kevin Kelley wrote:

> This is probably a really easy, stupid error, but I've spent hours
> looking to no avail. I have a brand new Dell PowerEdge 300SC server
> running RedHat Linux 7.1. I managed to install Apache (finally) and
> then got around to installing dynamic languages. MySQL was first on my
> list.
>
> How-To-Repeat:
>
> I downloaded a binary of MySQL, unzipped it, installed it, set
> ownerships, all that, and then when I type (from /usr/local/mysql)
> "bin/safe_mysqld --user=mysql &" which is --EXACTLY-- what the manual says:
>
> ---------Terminal---------------------
> [root at domain localhost mysql]# bin/safe_mysqld --user=mysql &
> [1] 17281
> [root at domain localhost mysql]# Starting mysqld daemon with databases from
> /usr/local/mysql/var
> 010915 22:52:52 mysqld ended
>
> [1]+ Done bin/safe_mysqld --user=mysql
> [root at domain localhost mysql]#
> --------------------------------------
>
> Well, that's it. I'd really appreciate any help!

Well, there are a number of things which MySQL requires :

1. Correctly installed binaries
2. Initial databases created by the install process or an install script
3. Suitable ownership or rights to the database and logging directories

If any of these fail, MySQL will fail to start.

My guess is either 2 or 3, with the nod to 3. So, make certain that
user 'mysql' has full rights to the entire /usr/local/mysql/var tree,
and that the install process created the 'mysql' and 'test' DB's in
there correctly. If not, there should be a script installed to allow
you to do that.

I install from source, so I'm not familiar with the RPM layout.

Regards,

Vin



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:09 GMT