Bug #34377 mysql_install_db must be run w/ --no-defaults
Submitted: 7 Feb 2008 11:03 Modified: 7 Feb 2008 11:58
Reporter: Carsten Pedersen Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.1, 6.0 OS:Linux
Assigned to: CPU Architecture:Any

[7 Feb 2008 11:03] Carsten Pedersen
Description:
When following the steps for installing MySQL 5.1.22 binary distribution documented in http://dev.mysql.com/doc/refman/5.1/en/installing-binary.html on (K)Ubuntu 7.10, mysql_install_db will fail, complaining that --basedir must be set.

Setting --basedir doesn't get you anywhere but to another bunch of error messages.

The setting that you do need is '--no-defaults'

How to repeat:
Follow the installation instructions

Suggested fix:
Not sure if this is a documentation bug or programming bug (although the latter seems more likely, as the procedure works well on many other systems).
[7 Feb 2008 11:58] Sveta Smirnova
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.

Duplicate of bug #30759