AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Uninstall postgresql mac terminal8/9/2023 ![]() ![]() Lastly, whats the difference between what we are trying to accomplish with this task versus what postgresapp. Psql (11.8, server 12.3) WARNING: psql major version 11, server major version 12. ![]() In a second terminal you can check the condition of the containers and make. When i run psql I get the following which seems like i have 2 versions? Run docker compose down -volumes -remove-orphans command in the directory. You can find it in the installation directory. The database has been created, this message will no longer appear EnterpriseDB provides an uninstaller that can automatically uninstall PostgreSQL. In the unlikely event that you would like to uninstall SDKMAN, we dont have an automated way of doing this yet. Please be aware that the database can take some time to generate once To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/ I see a mac user account for postgres was created and after resetting the password through mac preferences I sill cannot get access to the db or connect via JDBC. WARNING: The locate database (/var/db/locate.database) does not exist. My issue is I installed it a while back but don't remember the password and the thinking is to uninstall it unless someone can tell me how to reset the password. I get -> -bash: ~./bash_profile: No such file or directory Not sure how to do it, is it literally adding ~/.bash_profile to the terminal? that opens a shell like cli,does that mean i would need to add the export line there as a next step?Įcho 'export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin' > ~/.bash_profileīut it went straight to a new line. export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin.My server is running in the right port, however, i haven’t done this other task:Īdd the following line to the end of ~/.bash_profile : launchctl list grep -i sql brew services stop postgres brew uninstall -force postgres rm -rf /usr/local/var/postgres rm -rf. ![]() I was having the same issue as OP but i was able to figure it out. ![]()
0 Comments
Read More
Leave a Reply. |