Unable to create PostgreSQL database

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Unable to create PostgreSQL database

Postby aliciaquays » Wed Feb 01, 2012 7:36 pm

Hi, I'm running in to the following issues when I try to create a database for PT4. I've run PostgreSQL before for Hold'em Manager and have two databases for that already.

"Unable to create PostgreSQL database: PT4 DB
Reason: Unable to execute query: --

-- Table: cash_hand_summary
--

Create Table cash_hand_summary (

...alot of text"

I've got all things set as standard (apart from the password which I changed some time ago) ie.
Server: localhost User: postgers
Port: 5432 Password: password

I've also made sure my firewall allows the ports (since running with HEM)

When I try to create a database with my firewall turned off, I get another message:
"Unable to create PostgreSQL database: PT4 DB
Reason: Unable to execute quert: Create Database "PT DB" WITH TEMPLATE = template0
ENCODING = 'UTF8';;Reason: Fatal Error (ERROR: database PT4 DB" already exists )"

Although when I check the "This database already exists" box, it sais it's not a "valid database"

Thank you in advance.
aliciaquays
 
Posts: 21
Joined: Wed Feb 01, 2012 5:06 pm

Re: Unable to create PostgreSQL database

Postby WhiteRider » Thu Feb 02, 2012 3:58 am

Please try creating a new database with a different name (both the "Name" that PokerTracker uses and the "Database" in the PostgreSQL Server Information) and see if that works OK?
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Unable to create PostgreSQL database

Postby aliciaquays » Thu Feb 02, 2012 1:41 pm

I tried changing the name on both of the lines. I do however still get the error message presented first in my original post:

Image
aliciaquays
 
Posts: 21
Joined: Wed Feb 01, 2012 5:06 pm

Re: Unable to create PostgreSQL database

Postby kraada » Thu Feb 02, 2012 1:44 pm

Unfortunately that screenshot does not show the entire error. Could you copy it and paste it into a support ticket for us? The entire error will be more useful than the picture portion.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unable to create PostgreSQL database

Postby aliciaquays » Thu Feb 02, 2012 5:40 pm

I managed to get this sorted by reinstalling PostgreSQL 8.3

Thanks for the help guys.
aliciaquays
 
Posts: 21
Joined: Wed Feb 01, 2012 5:06 pm


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 15 guests

cron