OS X 10.2 Kills Users

kiernanb

Registered
After an upgrade to 10.2, the following happened to my mysql user (standard mysql installation where a new user "mysql" was created)
1. The mysql files were overwritten.
2. The mysql user had disappeared from the OS X Accounts Preferences window although the user still existed.
3. It was no longer possible to login as user mysql at the Login window.

What a pain. I had to log in as root to wipe out the mysql user. Now I've got to download and reinstall mysql.

Anyone with an idea why this happened and how to prevent it?
 
A clean install is not necessary. I subsequently discovered that there is information on mysql.com which points to the fact that:
- Apple has gone about it's own business of accomodating mysql which it does not provide an obvious notice or alert for in the 10.2 Installer. It creates a mysql user which does not appear in the Users panel, and can not be deleted even if the mysql account is deleted via Terminal. Additionally, OS X Server installs mysql by default, but not in non-server installations.

This requires removal of previous mysql (over 900) files and reinstallation. This can be accomplished most easily via Mar Liyanage's mysql pages. Marc has written a script which removes previously installed mysql files, and also has instructions and code for a new installation. However, I couldn't successfull download the script, so:

- I did a Finder find of all files with mysql (set invisible flag ON - or as Apple puts it visible OFF), logged in as root in a Terminal session and rm'ed the lot, then reinstalled.

The mysql daemon is up and running again. But whether or not I wiped some files that will cause a problem later remains to be seen as I have, as of now, only tested the mysqld startup.
Most unpleasant.
 
Back
Top