can't start mysql56 after move datadir

Ryan Schmidt ryandesign at
Thu Feb 12 21:03:09 PST 2015

On Feb 12, 2015, at 4:05 PM, Murray Eisenberg wrote:

> After upgrading from OS X Mavericks to Yosemite, I did the standard procedure for migrating macports. But I found that the mysql server would not start. So I uninstalled mysql56 completely and installed anew. Worked just fine.
> But, I want my datadir to be someplace else from the default, so I edited my.cnf as shown below, then did an _exact_ copy (* preserving permissions *) of /opt/local/var/db/mysql56 to new location ~/Databases/mysql/data, i.e.,
> /Volumes/MacHD/Users/thisuser/Databases/mysql/data.

Does the _mysql user have permission to read every directory up to /Volumes/MacHD/Users/thisuser/Databases/mysql/data?

More information about the macports-users mailing list