Monterey 12.6: cannot chown to _mysql for mysql datadir

Ryan Schmidt ryandesign at macports.org
Thu Sep 15 04:29:15 UTC 2022


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"?



More information about the macports-users mailing list