Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Permissions
bnsupport ID: ccf8b3da-d32f-d5d6-dfd5-9b44f36ba4a8
I'm working on moving data from one AWS server to another and tonight I stopped the Apache, PHP and MySQL services so that I could zip up the /opt/bitnami directory to move it and when I finished with that, the Apache and PHP services started right back up, but MySQL didn't. When I had been testing stuff earlier, I had messed with the permissions and ownership of the /opt/bitnami/mysql/data folder to test some copying, but I've restored all the permissions and owners to exactly what one of my other, working, servers has (namely that the data folder is owned by mysql and root and that the files within are generally owned by mysql and mysql, with a few owned by the root group - but they all match up both by owner/group and permission.
The log file, as the server is trying to start, though gives me:
"2019-07-24 21:25:54 7f9fbfd6a700 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory."
but I don't see anything that might be causing this. What directory is the InnoDB directory? What do I need to do to get the permissions for that directory fixed?