This is a bug in some versions of MySQL, where mysql_install_db does not honor --defaults-file and --basedir. I remember having this problem when MySQL 5.1.23 was released, and solving it by taking mysql_install_db from 5.1.22
This is a bug in some versions of MySQL, where mysql_install_db does not honor --defaults-file and --basedir.
I remember having this problem when MySQL 5.1.23 was released, and solving it by taking mysql_install_db from 5.1.22