| Bug #58534 | mysql_install_db prints incomplete option name | ||
|---|---|---|---|
| Submitted: | 27 Nov 2010 17:01 | Modified: | 10 Oct 2011 13:10 |
| Reporter: | Paul DuBois | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Errors | Severity: | S3 (Non-critical) |
| Version: | all | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[27 Nov 2010 17:23]
Valeriy Kravchuk
Indeed: macbook-pro:5.5-sec openxs$ grep -n skip-grant bin/mysql_install_db 408: echo " shell> $mysqld --skip-grant &"

Description: If mysql_install_db encounters a problem, one of its error messages is: Installation of system tables failed! Examine the logs in ./data for more information. You can try to start the mysqld daemon with: shell> ./bin/mysqld --skip-grant & "--skip-grant" is an incomplete option name. It should be "--skip-grant-tables" (if we ever implement another option with that same prefix, "--skip-grant" will be ambiguous). Besides, we should just display the full option name, not some arbitrary shorthand. How to repeat: Inspection of script.