Monterey 12.6: cannot chown to _mysql for mysql datadir
Murray Eisenberg
murrayeisenberg at gmail.com
Thu Sep 15 15:06:14 UTC 2022
It was my mistake typing “+R”, which explains the error message.
Changing to chown -R instead did finally work once I saw what I had done.
Sorry for the trouble.
> On 15 Sep2022, at 12:29 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Sep 13, 2022, at 14:36, Murray Eisenberg wrote:
>
>> On 13 Sep2022, at 3:15 PM, Murray Eisenberg wrote:
>>>
>>> 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
>>
>> Sorry for typo: what I tried was;
>>
>> chown -R _mysql:_mysql /Users/me/Databases/mysql/data
>
> And the error message you got back from that was "chown: +R: illegal user name"?
>
---
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