>On Wed, 8 Aug 2001, Ling Wang wrote:

> I have to login as root user to do mysql_install_db and safe_mysqld &.
> Otherwise I will get permission denied message.

You already made those files, and they're owned by root. You can't 
overwrite them that way.

Just do a chown before you start the database.
 
> How come when I type service mysqld start, Linux says command not found? I 
> could not find the command chkconfig either.

Both are not path of a user's path[1] - they're admin tools, and are for 
the use of root. Root can also control which services start with "tksysv" 
and "ntsysv".
 
[1] They're in /sbin, for the curious.
-- 
Trond Eivind Glomsrød
Red Hat, Inc.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to