LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

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

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

Vincent Cunniffe vincent at cunniffe.net
Mon Sep 17 00:11:13 IST 2001


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 localhost mysql]# bin/safe_mysqld --user=mysql &
> [1] 17281
> [root at 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 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





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell