Bug #67672 | new perl mysql_install_db fails when run as root with --user option | ||
---|---|---|---|
Submitted: | 22 Nov 2012 0:00 | Modified: | 10 Jan 2013 14:24 |
Reporter: | Hartmut Holzgraefe | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S2 (Serious) |
Version: | 5.6.8 | OS: | Linux |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
Tags: | Contribution |
[22 Nov 2012 0:00]
Hartmut Holzgraefe
[22 Nov 2012 1:18]
MySQL Verification Team
Verified as described. If you follow the instructions in INSTALL-BINARY: shell> cd mysql shell> chown -R mysql . shell> chgrp -R mysql . shell> scripts/mysql_install_db --user=mysql shell> chown -R root . shell> chown -R mysql data The permissions work, but the error is masked.
[22 Nov 2012 3:10]
MySQL Verification Team
Duplicate of internal bug: Bug #15866735 MYSQL_INSTALL_DB DOES NOT HONOR --USER, AND CODE TO DO IT IS BROKEN
[22 Nov 2012 12:31]
MySQL Verification Team
The "check root dir is writable" part is a regression, see: http://bugs.mysql.com/bug.php?id=36462
[23 Nov 2012 7:31]
James Day
Thanks Hartmut, already being fixed based on our own checks. Looks as though the existing fix will be in the next build.
[10 Jan 2013 14:24]
Erlend Dahl
This is a duplicate of an internally filed bug that was fixed in 5.6.9.