I asked this question on the MySQL forums and got no answer, so I'll try here.
I recently successfully installed the 64 bit version of mysql-5.5.8 on a MacBook Pro in the /usr/local
directory.
To address a completely unrelated software (RVM actually) , I chown-ed my /usr/local
directory to $USER
, Which made MySQL unhappy. It complained specifically about the /usr/local/mysql/data
directory, so I chown-ed that directory to _mysql:wheel
.
Everything appears to work again, but it made me wonder if I would have been better off changing the owner of the whole /usr/local/mysql
directory, not just the data sub-directory.
Since I neglected to make notes of what owner the default installation runs under, could someone tell me what owner and permissions the /usr/local/mysql
directory is by default if you don't inadvertently screw it up?
:-/
I'm guessing rwxr-xr-x
would be appropriate for permissions (that's what the data directory currently has and it appears to be working fine), but reinforcement for that hunch would be appreciated.