Try doing it as root if you're not already.

Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com


----- Original Message -----
From: "Michael Nezi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 11:08 AM
Subject: Problems running ./mysql_install_db


> When installing mysql the only problem I receive is the following
> which cannot install the grant tables.  I am unable to view the log
> because my access is denied.
>
> What to do? Anyone?
>
>
>
> [localhost:/usr/local/bin] nezi% ./mysql_install_db
> mkdir: /usr/local/var/mysql: Permission denied
> chmod: /usr/local/var/mysql: Permission denied
> mkdir: /usr/local/var/test: Permission denied
> chmod: /usr/local/var/test: Permission denied
> Preparing db table
> Preparing host table
> Preparing user table
> Preparing func table
> Preparing tables_priv table
> Preparing columns_priv table
> Installing all prepared tables
> /usr/local/libexec/mysqld: Can't change dir to '/usr/local/var/' (Errcode:
13)
> 010725  9:56:55  Aborting
>
> 010725  9:56:55  /usr/local/libexec/mysqld: Shutdown Complete
>
> Installation of grant tables failed!
>
> Examine the logs in /usr/local/var for more information.
> You can also try to start the mysqld daemon with:
> /usr/local/libexec/mysqld --skip-grant &
> You can use the command line tool
> /usr/local/bin/mysql to connect to the mysql
> database and look at the grant tables:
>
> shell> /usr/local/bin/mysql -u root mysql
> mysql> show tables
>
> Try 'mysqld --help' if you have problems with paths. Using --log
> gives you a log in /usr/local/var that may be helpful.
>
> The latest information about MySQL is available on the web at
> http://www.mysql.com
> Please consult the MySQL manual section: 'Problems running
mysql_install_db',
> and the manual section that describes problems on your OS.
> Another information source is the MySQL email archive.
> Please check all of the above before mailing us!
> And if you do mail us, you MUST use the /usr/local/bin/mysqlbug script!
>
> --
>
> ---------------------------------------------------------------------
> 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


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