they are in /opt/local/var/run and /opt/local/var/db
On Mon, Mar 28, 2011 at 4:14 PM, Bradley Giesbrecht <[email protected]>wrote: > > On Mar 28, 2011, at 3:46 PM, Alex Yang wrote: > > sudo port install php5 +apache2 +mysql5-server > > > That is what I use > > On Mon, Mar 28, 2011 at 3:06 PM, Ryan Schmidt <[email protected]>wrote: > >> >> On Mar 28, 2011, at 10:56, Alex Yang wrote: >> >> > I use macport install mysql-5 in mac snow leopard, after changging >> > permision of mysql directory under var/run and var/db, >> > > Where are these var/run and var/db directories? > > You should not have needed to change the permissions of the directories; >> they should already have been correct after installing the mysql5-server >> port. Did you install the mysql5-server port, or only the mysql5 port? >> >> > I can run >> > mysql_install_db, but I cannot change root password or run >> mysql_security, >> > > Where is mysql_install_db? What exact command did you execute? > > > I log in mysql under skip-grant, I see mysql.user is empty-set. Is there >> > anyway to fix that? >> > > Where is mysql? What exact command did you execute? > > > Regards, > Bradley Giesbrecht (pixilla) > > > > > -- *Best,* *Xiaogang(Alex) Yang*
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
