Separate names with a comma.
Discussion in 'Mac OS X Lion (10.7)' started by altecXP, Aug 21, 2011.
I know that mySQL was in both Client and Server. Has SQL been moved to only Server?
Yes, the server default is now PostgreSQL.
Thats not that I mean. MySQL used to be in both Client and Server OS X, is PostgreSQL still in Client, or is it only in Server now?
It looks like it is only in the server.
You can fix your Postgres installation with these commands in a Terminal:
sudo chown -R _postgres:_postgres /usr/local/pgsql-9.0/data
sudo chown -R _postgres:admin /usr/local/pgsql-9.0/var
sudo dscl . -delete /Groups/postgres
Then edit /Library/LaunchDaemons/org.postgresql.postgres.plist and change the UserName string to:
Now reload the launch daemon: (or simply restart your Mac)
sudo launchctl unload /Library/LaunchDaemons/org.postgresql.postgres.plist
sudo launchctl load /Library/LaunchDaemons/org.postgresql.postgres.plist
Installers should all work, except that Postgres won't start. Just apply the above fix after installing and you should be good to go. I'll have a fixed installer out soon.