Bug #35773 | --disable-grant-options and mysql_install_db | ||
---|---|---|---|
Submitted: | 2 Apr 2008 15:20 | Modified: | 3 Apr 2008 8:57 |
Reporter: | dylan beukenkamp | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
Version: | 5.0.51a | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[2 Apr 2008 15:20]
dylan beukenkamp
[2 Apr 2008 17:16]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php According to http://dev.mysql.com/doc/refman/5.0/en/configure-options.html: "Run configure with the --disable-grant-options option to cause the the --bootstrap, --skip-grant-tables, and --init-file options for mysqld to be disabled. For Windows, the configure.js script recognizes the DISABLE_GRANT_OPTIONS flag, which has the same effect. The capability is available as of MySQL 5.0.34." So behavior is expected
[3 Apr 2008 8:32]
dylan beukenkamp
But with these setting mysql_install_db don't work, i think that is a bug, you can't install the mysql server with this settings
[3 Apr 2008 8:57]
Sveta Smirnova
According to http://dev.mysql.com/doc/refman/5.0/en/mysql-install-db.html: "mysql_install_db needs to invoke mysqld with the --bootstrap and --skip-grant-tables options (see Section 2.4.15.2, “Typical configure Options”). If MySQL was configured with the --disable-grant-options option, --bootstrap and --skip-grant-tables will be disabled. To handle this, set the MYSQLD_BOOTSTRAP environment variable to the full pathname of a server that has all options enabled. mysql_install_db will use that server."