This has been driving me crazy for a while now. I've searched and searched and can't seem to find an answer.
I compiled from source MySQL5.1.58 on Ubuntu 12.04, it's a task I was assigned for those of you whose first question is "Why didn't you just apt-get?" I followed the instructions on "MySQL 5.1 Reference Manual :: 2.2 Installing MySQL from Generic Binaries on Unix/Linux". I did a wget from MySQL :: MySQL Product Archives. When I initial runthe first time after compile it works fine and I'm able to runCode:./mysqld_safe &
But, when I do a reboot and try to runCode:./mysql_secure_installation
again, I receive a permission denied to the data folder within the mysql folder. I have triedCode:./mysqld_safe &
and I get the same response. When I doCode:./mysqld_safe --user=mysql &
it shows all folders except for the data folder is owned by root and the data folder is owned by mysql user. I am confused as to why it' not working. Can anyone point me in the right direction.Code:ls -l