Bug #74588 New mandatory parameter for mysql_install_db is missing in the documentation
Submitted: 27 Oct 2014 10:13 Modified: 2 Feb 2015 17:25
Reporter: David Edwards Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: Jon Stephens CPU Architecture:Any

[27 Oct 2014 10:13] David Edwards
Description:
Installing the MySQL server from source will fail if the docs are followed due to a minor error. The new binary version of mysql_install_db takes a new mandatory parameter which is --datadir . This is missing from the docs.

How to repeat:
Install from source as per instructions at :

http://dev.mysql.com/doc/refman/5.7/en/installing-source-distribution.html

Suggested fix:
Change the line :

shell> bin/mysql_install_db --user=mysql

to :

shell> bin/mysql_install_db --user=mysql --datadir=DATADIR
[27 Oct 2014 10:26] MySQL Verification Team
Thank you for the bug report.
[2 Feb 2015 17:25] Jon Stephens
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly.