mysql installed by macports mysql.user is empty
Alex Yang
gavinxyang at gmail.com
Mon Mar 28 16:17:48 PDT 2011
they are in /opt/local/var/run and /opt/local/var/db
On Mon, Mar 28, 2011 at 4:14 PM, Bradley Giesbrecht <brad at pixilla.com>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 <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,
>>
>
> 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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110328/ccaf48d5/attachment.html>
More information about the macports-users
mailing list