[MySQL4] Install difficulties

Ryan Schmidt ryandesign at macports.org
Mon Jun 25 14:40:21 PDT 2007


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.





More information about the macports-users mailing list