mysql installed by macports mysql.user is empty

Alex Yang gavinxyang at gmail.com
Mon Mar 28 15:46:10 PDT 2011


sudo port install php5 +apache2 +mysql5-server


That is what I use

On Mon, Mar 28, 2011 at 3:06 PM, Ryan Schmidt <ryandesign at macports.org>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,
>
> 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,
> >  I log in mysql under skip-grant, I see mysql.user is empty-set. Is there
> >  anyway to fix that?
> >
> >  second question is, I use root run mysql, what user and group mysql use
> to
> >  access files.
>
>


-- 
*Best,*
*Xiaogang(Alex) Yang*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110328/199ec8eb/attachment.html>


More information about the macports-users mailing list