Monterey 12.6: cannot chown to _mysql for mysql datadir

Murray Eisenberg murrayeisenberg at gmail.com
Tue Sep 13 19:15:17 UTC 2022


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
	





More information about the macports-users mailing list