Thank you, I hope this is the right place to be asking these questions.  If
there is a more "newbie" place please let me know.  Here's more output I
need help with, I think it's self-explanatory except that I don't how to
rectify it.  The following is a continuation my original message and a
reply.

First, I tried what what was recommended in the response to my original (far
below), as follows:

Welcome to Darwin!
[zbase:~] mysql% /usr/share/mysql/mysql.server start
[zbase:~] mysql% Starting mysqld daemon with databases from
/Users/mysql/Documents/dbs
020713 16:39:15  mysqld ended

I've seen that before so I tried (sorry to copy it all):

Welcome to Darwin!
[mbase:~] mysql% mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
ERROR: 1  Can't create/write to file './mysql/db.frm' (Errcode: 13)
020713 16:42:03  /usr/libexec/mysqld: Shutdown Complete


To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/bin/mysqladmin -u root -p password 'new-password'
/usr/bin/mysqladmin -u root -h mbase -p password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench'
directory:
cd sql-bench ; run-all-tests

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

[zbase:~] mysql%

How can I rectify what I see as an install_db failure?

Thanks,
Lloyd

on 7/13/02 3:48 PM, Paul DuBois, typed:

> At 6:28 -0400 7/13/02, <[EMAIL PROTECTED]> wrote:
>> Can anyone translate this for me, please? TIA
> 
> This will happen if yu try starting the server from an unprivileged
> account that is not the owner of the MySQL data directory.  Try starting
> the server from that account.
> 
>> Welcome to Darwin!
>> [zbase:~] lloyd%  /usr/share/mysql/mysql.server start
>> [zbase:~] lloyd% touch: /Users/mysql/Documents/dbs/zbase.err: Permission
>> denied
>> chown: /Users/mysql/Documents/dbs/mbase.err: Permission denied
>> Starting mysqld daemon with databases from /Users/mysql/Documents/dbs
>> /usr/bin/safe_mysqld: permission denied:
>> /Users/mysql/Documents/dbs/mbase.err [229]
>> rm: /Users/mysql/Documents/dbs/zbase.pid: Permission denied
>> /usr/bin/safe_mysqld: permission denied:
>> /Users/mysql/Documents/dbs/zbase.err [235]
>> tee: /Users/mysql/Documents/dbs/zbase.err: Permission denied
>> 020713 06:18:06  mysqld ended
>> tee: /Users/mysql/Documents/dbs/zbase.err: Permission denied
>> 
>> 
>> [zbase:~] lloyd% sudo /usr/share/mysql/mysql.server start
>> Password:
>> [zbase:~] lloyd% Starting mysqld daemon with databases from
>> /Users/mysql/Documents/dbs
>> 020713 06:19:24  mysqld ended


---------------------------------------------------------------------
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