Opened 17 years ago
Closed 15 years ago
#13705 closed enhancement (fixed)
mysql5 should use _mysql user in Leopard
Reported by: | ajmas (Andre-John Mas) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | Cc: | anton.chaplygin@…, sakutz@… | |
Port: | mysql5 |
Description
Leopard changed some things, notably all daemon user now start with an underscore, such as _mysql, _www, _svn, etc. This ended up breaking my mysql5 installation (I did an upgrade, rather than a clean and restore). For this reason mysql5 probably needs to be modified to support this new convention.
Change History (10)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|
comment:2 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | MacPorts base bugs → Port Enhancements |
---|---|
Type: | defect → enhancement |
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 16 years ago by anton.chaplygin@…
Hi! I've got the same problem and i can't find anything about it in google. Could you tell me, please, in few words how to solve it before this ticket will be closed? Thank you.
comment:6 Changed 16 years ago by anton.chaplygin@…
Ah! Sorry for troubling. This helped me:
# chown -R _mysql /opt/local/var/run/mysql5/
comment:7 Changed 16 years ago by (none)
Milestone: | Port Enhancements |
---|
Milestone Port Enhancements deleted
comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | sakutz@… added |
---|---|
Port: | mysql5 added |
Status: | new → assigned |
Has duplicate #22472. I didn't realize this was actually causing problems -- in my testing, asking for user "mysql" on Leopard or Snow Leopard transparently became user "_mysql" so there was no problem.
comment:9 Changed 15 years ago by sakutz@…
I apologize that I didn't see that this was a duplicate. Yes, this caused issues, at least on 10.6.2. The directories were not getting the right permissions and thus the daemon was failing to start.
comment:10 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Should be fixed by r60468.
It seems that Tabitha predicts the future. :) (She suggested four months ago that MacPorts should make its own user account for the mysql5 portfile instead of using the system mysql account, in case Apple ever changed the system account -- which, much to my surprise, they've now done.)