Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mysql problems - mysql user does not exist




On 31/03/2007, at 11:25 AM, Charles Kline wrote:

root# id mysql
id: mysql: no such user

As a really quick and dirty solution his will create the mysql user for you (as root).


echo "mysql:*:74:74::0:0:MySQL Server:/var/empty:/usr/bin/false" | niload passwd .

Don't forget the full stop at the end of that command.

If the group mysql doesn't exist either, then this will recreate it (again, running this as root):

echo "mysql:*:74:" | niload group .


You might want to check what's happened to the user and groups with id 74 before you do this.


--
Nigel Kersten
http://explanatorygap.net



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >mysql problems - mysql user does not exist (From: Charles Kline <email@hidden>)
 >Re: mysql problems - mysql user does not exist (From: Pete Akins <email@hidden>)
 >Re: mysql problems - mysql user does not exist (From: Charles Kline <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.