![]() ![]() I've read several different posts to install and run postgreSQL properly and tried what they've suggested but nothing seems to be working for me. I've uninstalled postgresql and reinstalled but seems like I wasn't able to remove the postgresql 8.x version. Is the server running locally and acceptingĬonnections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"? When I run server, I get: /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:825:in `initialize': could not connect to server: No such file or directory (PG::ConnectionBad) Or, if you don't want/need launchctl, you can just run: ![]() Ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents To have launchd start postgresql at login: To install gems without sudo, see the Homebrew wiki. When installing the postgres gem, including ARCHFLAGS is recommended: To migrate existing data from a previous major version (pre-9.3) of PostgreSQL, see: You may need to remove the previous version first. If builds of PostgreSQL 9 are failing and you have version 8.x installed, $brew info postgresql postgresql: stable 9.3.2 (bottled) However, I don't know how to fix the rest of the problems. I've fixed several errors and warnings which have occurred when I ran brew info postgresql. I'm using Mac OS X 10.8.5 and trying to install postgreSQL using homebrew. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |