can't start mysql56 after move datadir
ryandesign at macports.org
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.,
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