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 <murrayeisenb...@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              murrayeisenb...@gmail.com
>       
> 
> 
> 

---
Murray Eisenberg                murrayeisenb...@gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101         
Rockville, MD 20850-6667        



Reply via email to