More Linux specific fixes, dealing with running the backend as root,
mysql config fixes, logging into file