-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 30 Mar 2003, Todd O'Bryan wrote:

> After some research, I was clever (?!) enough to chown all the files and
> directories in the mysql directory so that mysql is now the owner.

It should be enough to chown the "data" directory to "mysql".

> 030330 16:51:16  Fatal error: Can't open privilege tables: Table
> 'mysql.host' do
> esn't exist
> 030330 16:51:16  Aborting
>
> 030330 16:51:16  InnoDB: Starting shutdown...
> 030330 16:51:18  InnoDB: Shutdown completed
> 030330 16:51:18  /usr/local/mysql/bin/mysqld: Shutdown Complete
>
> 030330 16:51:18  mysqld ended
>
> Any idea what to do now? And shouldn't the installer be taking care of
> all of this semi-automatically?

It should - I am still investigating why it seems to fail here. Can you
please try, if the command "hostname" reveals any output on your system?

This command is being run by the installer during the package installation
to install the MySQL privilege tables. Somehow, this does not seem to work
properly on some Mac OS X boxes.

To install the privilege tables manually, try to run the following
commands in a Terminal:

  cd /usr/local/mysql
  sudo scripts/mysql_install_db
  sudo chown -R mysql data
  sudo bin/mysqld_safe
  CTRL+Z (suspend mysqld)
  bg
  CTRL+D (exit the shell)

Please observe, if mysql_install_db fails for you and what error message
you see - this may give us a hint why the package installation fails for
you.

Bye,
        LenZ
- -- 
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /      Mr. Lenz Grimmer <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__     MySQL AB, Production Engineer
/_/  /_/\_, /___/\___\_\___/     Hamburg, Germany
       <___/   www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+h+8jSVDhKrJykfIRAjSZAJ9qRWilMTVE0g6uOylEYJnw01zwFgCdFA4f
O3BT8nUHVxBVOb5kTy3/kGE=
=z4Xg
-----END PGP SIGNATURE-----

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to