Re: mysql problems - mysql user does not exist
- Subject: Re: mysql problems - mysql user does not exist
- From: Nigel Kersten <email@hidden>
- Date: Sat, 31 Mar 2007 12:36:07 +1000
- Delivered-to: email@hidden
- Delivered-to: email@hidden
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
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.