Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

altecXP

macrumors 65816
Original poster
Aug 3, 2009
1,115
1
I know that mySQL was in both Client and Server. Has SQL been moved to only Server?
 
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.
http://apple.stackexchange.com/questions/19209/postgresql-in-os-x-lion
http://johnmccombs.inmap.net/2011/08/07/osx-lion-and-postgresql/

More info.
http://www.kyngchaos.com/blog/2011/20110730_lion_first_pass
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:
_postgres
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.