Please Help - can't get mysql to run

Bradley Giesbrecht brad at pixilla.com
Wed Oct 20 15:59:21 PDT 2010


On Oct 20, 2010, at 3:08 PM, Mo Issa wrote:

>> Hello all --
>>
>> after I successfully installed mysql and the server port using  
>> macports, I rebooted, then I’ve been trying to create the initial  
>> database but it just won’t work. I researched this all day and it  
>> still won’t work. I’m on Mac OS X Leopard 10.5.8 and I keep on  
>> getting this error message when I execute the command to install  
>> the db:
>>
>> sudo /opt/local/lib/mysql5/bin/mysql_install_db --user=mysql

I have heard unverified reports that using a user alias does not work  
for some things.

Try:

/opt/local/lib/mysql5/bin/mysql_install_db --user=_mysql

Also, to verify a user:

dscl . read Users/mysql
dscl . read Users/_mysql


Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101020/7fddd767/attachment.html>


More information about the macports-users mailing list