General TC > General TC Talk

mysql error message

<< < (3/3)

bigpcman:
Ok, I finally made some progress! Guess what it's not the cp or tar commands causing problems - big surprise. Oh well you live and learn. The xampp package helped me track down the problem to this:

In dsl the lamp startup script when executed from  the terminal as su activates the apache server and mysql server. Both are started up with the Uid root. Subsequently several other httpd instantiations are activated as Uid nobody (server user name). In tc the mysql server is started up with the Uid nobody - the server user name. The key point is that the entire lamp directory permission structure expects that the mysql server is running under the root user not the nobody user. I think this is the way it's suppose to work. To get it to work in tc I had to hunt down all the files with the wrong permissions and change them.  I suppose the correct solution is to get the mysql server to startup under root. I don't know much about scripts ( I know I should by now) so I'm not sure why tc and dsl execute the script differently.

I've attached the lampp script. It's straight out of the xampp 1.6.8a package.

edit: Actually it's a little more complicated as can be seen in the screen shots below. The mysql server is started twice once in safe mode.

Navigation

[0] Message Index

[*] Previous page

Go to full version