Monterey 12.6: cannot chown to _mysql for mysql datadir
Murray Eisenberg
murrayeisenberg at gmail.com
Tue Sep 13 19:36:18 UTC 2022
Sorry for typo: what I tried was;
chown -R _mysql:_mysql /Users/me/Databases/mysql/data
> On 13 Sep2022, at 3:15 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>
> Whenever macOS updates to a new version, it destroys the custom settings for my user directory and subdirectories that are required for mysql to access its datadir, which is in a custom location.
>
> In the past, I’ve used the command
>
> chown +R _mysql:_mysql /Users/me/Databases/mysql/data
>
> as part of the steps to make a custom mysql datadir accessible to mysql.
>
> But since I just upgraded to Monterey 12.6, I’m getting the error message:
>
> chown: +R: illegal user name
>
> What to do now?
>
> Note that permission changes such as
>
> chmod +a "_mysql allow search" /Users/me/Databases
>
> (and ditto for /Users/me and /Users/me/Databases/mysql) are OK.
>
> ---
> Murray Eisenberg murrayeisenberg at gmail.com
>
>
>
>
---
Murray Eisenberg murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101
Rockville, MD 20850-6667
More information about the macports-users
mailing list