Le 07/11/11 15:36, Ramy Abdel-Azim a écrit : Not sure if this has already posted, but I wasn't accepted to the mailing list the first time i sent it. Installing DBD::Pg for perl on Lion worked also well. And for post install, the documentation is quite complete. brew services start postgres We will get a similar output shown below. To start PostgreSQL run the following command in the Terminal. psql -version psql (PostgreSQL) 11.5 Start PostgreSQL. To answer your last question, I used the dmg directly downloaded from Postgres website, and everything did well (it installs in /Library/PostgreSQL/, and some stuff in /Applications/PostgreSQL/). We can check the version of PostgreSQL using the psql command. If you need to manage the automatic service, here is a short introduction. Getting a homebrew installed postgres server to start every time you log in to your macOS can be tricky. This method uses a tool that’s designed to uninstall apps and drivers and can also reset them to the state they were in when you first installed them if they run into trouble. Now that we’ve shown you the manual and lengthy method for uninstalling PostgreSQL, let’s take a look at a much easier way. Maybe you should also check that the server was not running before launching the uninstall process (pg_ctl stop). This section is just if you have problems, and want to, automatically start postgres server at system log in. How to uninstall PostgreSQL the easy way. brew uninstall postgresql rm -rf /usr/local/var/postgres rm /usr/local/var/log/postgres.log rm -f /. These instructions apply if you used EDBs interactive Mac installer to install PostgreSQL. brew uninstall postgres rm -rf /usr/local/var/postgres rm /usr/local/var/log/postgres.log rm -f /.psqlrc /. So if you can locate the file manually, or follow the symlinks, you can probably delete them manually (but be careful). Completely uninstalling a Homebrew installation of Postgres. My postgresql install was not through brew, but if I understood weel, all should be in /usr/local. Oh, and you can go directly navigate to the homebrew file to see if the files were removed via the terminal. Example: sudo rm -rf /opt/homebrew/share/. brew uninstall postgres rm -rf /usr/local/var/postgres rm /usr/local/var/log/postgres.log rm -f /.psqlrc /.psqlhistory It might seem same brew uninstall postgres should be sufficient, although it alone won’t actually delete any for your evidence (which will be left hinter in /usr/local ). I am also new to postgresql and I just switched to Lion so I am probably not very helpful but as it seems that you got no answers, I can try to give you some clues. Also, like zja mentioned, you want to make sure there is a space between -rm -rf and the file path.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |