Bug #56279 | Mac installer does not work as documented | ||
---|---|---|---|
Submitted: | 26 Aug 2010 5:19 | Modified: | 29 Aug 2010 17:25 |
Reporter: | Hakan Küçükyılmaz | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
Version: | 5.1.50 | OS: | MacOS (10.5, 10.6) |
Assigned to: | CPU Architecture: | Any |
[26 Aug 2010 5:19]
Hakan Küçükyılmaz
[27 Aug 2010 16:29]
Valeriy Kravchuk
What installation document do you mean? http://dev.mysql.com/doc/refman/5.1/en/mysql-installation-macosx-pkg.html, for example, does not mention renaming existing mysql directory (or symlink) to mysql.bak (and this renaming, indeed, never happens).
[27 Aug 2010 16:33]
Hakan Küçükyılmaz
I mean the documentation delivered within the installer.
[28 Aug 2010 9:48]
Valeriy Kravchuk
Indeed, ReadMe.txt in .dmg claims this: "If a directory named `/usr/local/mysql' exists, it is renamed to `/usr/local/mysql.bak' first." while this never happens.
[28 Aug 2010 20:03]
Giuseppe Maxia
The behavior in the readme.txt is consistent with what happens. "If a *directory* named `/usr/local/mysql' exists, it is renamed to `/usr/local/mysql.bak'" Notice: a directory, not a symlink. Before the installation: # ls -l -d mysql drwxr-xr-x 2 root wheel 68 Aug 28 21:56 mysql This is a directory, not a symlink. After the installation: # ls -l -d mysql* lrwxr-xr-x 1 root wheel 24 Aug 28 21:58 mysql -> mysql-5.1.48-osx10.6-x86 drwxr-xr-x 2 root wheel 136 Jun 23 07:44 mysql-5.1.38-osx10.5-x86 drwxr-xr-x 13 root wheel 578 Jun 4 20:22 mysql-5.1.48-osx10.6-x86 drwxr-xr-x 2 root wheel 68 Aug 28 21:56 mysql.bak So, the installer does what the documentation says. Hence, it is not a bug.
[29 Aug 2010 17:25]
Hakan Küçükyılmaz
Giuseppe, thanks for clarification.