Bug #1816 Problems running mysql_install_db
Submitted: 12 Nov 2003 9:16 Modified: 13 Nov 2003 14:59
Reporter: Oscar Cayetano Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:mysql-4.1.0-alpha OS:MacOS (Mac OS 10.3)
Assigned to: CPU Architecture:Any

[12 Nov 2003 9:16] Oscar Cayetano
Description:
When I try to install mysql_install_db I have the next

How to repeat:
[yoco:~/mysql-4.1.0-alpha] cco12% sudo scripts/mysql_install_db
Installing privilege tables
/usr/local/mysql/libexec/mysqld: ERROR: unknown variable 'bdb_cache_size=4M'
scripts/mysql_install_db: line 443: 27702 Broken pipe             cat $fill_help_tables
Installation of grant tables failed!

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

shell> /usr/local/mysql/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/mysql/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/mysql/bin/mysqlbug script!
[13 Nov 2003 14:59] Dean Ellis
It sounds as if you have an existing my.cnf configuration file somewhere which is setting bdb_cache_size, but are not using a version of MySQL which includes support for BDB tables.

Thank you.