mysql
user to own the MySQL directory and data. You can do this through the Directory Utility, and the mysql
user should already exist. For use in single user mode, an entry for _mysql
(note the underscore prefix) should already exist within the system /etc/passwd
file. data
directory from the old version to the new version, or alternatively specify an alternative datadir
value to set location of the data directory. By default, the MySQL directories are installed under /usr/local/
. /usr/local/mysql/bin
to your PATH
environment variable. You can do this by modifying the appropriate startup file for your shell. For more information, see Section 4.2.1, “Invoking MySQL Programs”. /Library/Receipts/mysql-VERSION
.pkg
.