On Jun 25, 2007, at 12:14, Marco Battistella wrote:

This might or might not be related to the problems occurring with the installation of mysql5 .
I installed mysql4 through macports  ($ port install mysql4 +server)
mysql would not start (from the command line).
Looking at the mysql error log i realized that there was a problem with writing permission to the directory '/opt/local/var/db/mysql' I changed the owner of that directory from root to mysql and that fixed the issue. I'm not sure if I had done something wrong causing this issue in the first place.
Hopefully this might help someone encountering a similar problem.
take care.

I don't understand why you are experiencing that problem.

If you install mysql4 +server then the portfile says

        xinstall -o mysql -g mysql -m 775 -d ${destroot}${dbdir}

which should set the ownership of that directory properly.


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to