recreate postgresql acc?

A special forum dedicated to our PT4 for Mac OS X users

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

recreate postgresql acc?

Postby garlucky » Tue Jul 29, 2014 7:35 am

Hey guys,

i did something very stupid: deleted the account (named PostgreSql), which has been listed among my user accounts on my mac...
i thought it was created undeliberately...now of course i cannot start PT4 anymore, as it want to connect to a database.

what can i do now?? I also wouldn't mind to lose my collected data, as it was only little data, just want PT4 to run..
garlucky
 
Posts: 9
Joined: Thu Jul 24, 2014 12:08 pm

Re: recreate postgresql acc?

Postby kraada » Tue Jul 29, 2014 8:46 am

The easiest thing to do is uninstall and reinstall PostgreSQL as explained in this guide, just skip step 6 -- as long as you don't do step 6 your database will remain intact.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: recreate postgresql acc?

Postby garlucky » Sat Aug 02, 2014 4:38 am

what does that mean? Is it the proper answer?

julians-mbp-2:~ Julian****$ sudo/ sbin/SystemStarter stop postgresql-9.0
-bash: sudo/: No such file or directory

...sorry but i am not that familiar with this program
garlucky
 
Posts: 9
Joined: Thu Jul 24, 2014 12:08 pm

Re: recreate postgresql acc?

Postby garlucky » Sat Aug 02, 2014 5:10 am

silly me, typed it wrong..after i wrote it right no answer came up, is that alright?

and the next one again..

julians-mbp-2:~ Julian*****$ sudo rm /Applications/PostgreSQL 9.0
rm: /Applications/PostgreSQL: No such file or directory
rm: 9.0: No such file or directory

is it because i deleted that "account"?

the next one again would show an error...

julians-mbp-2:~ Julian*****$ sudo rm /etc/postgres-reg.ini
rm: /etc/postgres-reg.ini: No such file or directory
garlucky
 
Posts: 9
Joined: Thu Jul 24, 2014 12:08 pm

Re: recreate postgresql acc?

Postby garlucky » Sat Aug 02, 2014 6:42 am

now i just installed the newest version of PostgreSQL, of course it does not have the old data, but it works though.
garlucky
 
Posts: 9
Joined: Thu Jul 24, 2014 12:08 pm

Re: recreate postgresql acc?

Postby WhiteRider » Sat Aug 02, 2014 8:43 am

If you were to reinstall the same version of PostgreSQL you should be able to reconnect to your data, as long as you didn't delete the data folder, but if you still have your hand history files it's probably easiest to just re-import to your new database using Get Hands From Disk.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PT4 for macOS

Who is online

Users browsing this forum: No registered users and 19 guests

cron
highfalutin