Hey all,

    I don't like the default locations that mysql tries to install into.. I
like putting stuff in user accounts, with a version directory.  Easier to
maintain, yada yada.

Anyways, as per the instructions you have to change a path in
./bin/mysqlaccess

I did this but when I run the scripts/mysql_install_db I get the
following...  What am I missing?


mkdir: cannot create directory `/var/lib/mysql': Permission denied
chmod: failed to get attributes of `/var/lib/mysql': No such file or
directory
mkdir: cannot create directory `/var/lib/mysql/mysql': No such file or
directory
chmod: failed to get attributes of `/var/lib/mysql/mysql': No such file or
directory
mkdir: cannot create directory `/var/lib/mysql/test': No such file or
directory
chmod: failed to get attributes of `/var/lib/mysql/test': No such file or
directory
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
031217 23:57:16  Warning: Can't create test file
/var/lib/mysql/localhost.lower-test
./bin/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2)
031217 23:57:16  Aborting

031217 23:57:16  ./bin/mysqld: Shutdown Complete

Installation of grant tables failed!

Examine the logs in /var/lib/mysql for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:

shell> ./bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql 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 ./bin/mysqlbug script!



----
[EMAIL PROTECTED]
"Thanks to the remote control I have the attention span of a gerbil!"
"There are 10 types of people in the world.  Those who understand binary,
and those who don't."



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

Reply via email to