欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

homebrew mysql unknown option '--skip-bdb'


I've just installed a fresh installation of mysql via homebrew and when I do a 'mysql_install_db --verbose --user=whoami--basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp' I get the following error:

>Installing MySQL system tables...
>111215 19:03:41 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/var/mysql/ is case insensitive
>111215 19:03:41 [Note] Plugin 'InnoDB' is disabled.
>111215 19:03:41 [ERROR] /usr/local/Cellar/mysql/5.5.15/bin/mysqld: unknown option '--skip-bdb'
>111215 19:03:41 [ERROR] Aborting
>111215 19:03:41 [Note] /usr/local/Cellar/mysql/5.5.15/bin/mysqld: Shutdown complete
>Installation of system tables failed!

Does anyone know why I might be getting this error I've tried google around but can't find anything specially on "unknown option '--skip-bdb'"

 

Check if the script mysql_install_db is loading the default my.cnf (check /etc/my.cnf) file from another installation, in the version 5.1 --skip-dbd was removed.

You must remove this file or this option from this config file.

 

来自 https://stackoverflow.com/questions/8525313/homebrew-mysql-unknown-option-skip-bdb
普通分类: