Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
postgrsql problemcic

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
mladen



Joined: 07 Jan 2004
Posts: 43
Location: Dubrovnik

PostPosted: 10.01.2004 11:17    Post subject: postgrsql problemcic Add user to your forum ignore list Reply with quote

Radnja ... my office
Krivac : linux, postrgsql, i moj program

Prica : podigoh postrgsql na makinji ... sve radi savrseno ... dodani useri u bazu dodan user na mashinu (isti user primjer: perica)

/etc/rc.d/init.d/postgresql restart

Zaustavljam servis postgresql: [ U redu ]
Pokrećem servis postgresql: [ U redu ]

Ok program se spaja na localhost kao isti taj user u bazu na istom portu i ispisiva mi gresku da nemoze pronaci bazu ... tj. da provjerim dali je postgrsql podignut !?

what da fak ?

_________________
"Revenge is best served cold" Smile

www.holobit.net - linux freaks
http://balegari.bxteam.org - Clan pages
Back to top
View user's profile Send private message Visit poster's website
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 10.01.2004 23:28    Post subject: Add user to your forum ignore list Reply with quote

nagađam: na koju bazu se pokusavas spojit? jel ta baza postoji [kreirana je]? Jel to neki tvoj programcic koji si pisao ili koristis nesto open source gotovo?

Nakon fresh installa, pgsql je nesto drukciji od mysql-a (davno sam se doduse s tim igrao, ali ako se sjecam postojala je neka 'template1' baza i 'postgres' user koji je kao imao root privilegije... pa se moglo spojiti na tu template1 bazu i od tamo raditi create database ili pokretati skripte koje dodju s bazom, svastanesto...)

Da probas malo detaljnije objasniti ili dati komad koda koji izbacuje gresku? Mozda bi nekome iskusnijem bilo lakse uputiti te na pravi put...

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
mladen



Joined: 07 Jan 2004
Posts: 43
Location: Dubrovnik

PostPosted: 11.01.2004 15:57    Post subject: Add user to your forum ignore list Reply with quote

zytzagoo wrote:
nagađam: na koju bazu se pokusavas spojit? jel ta baza postoji [kreirana je]? Jel to neki tvoj programcic koji si pisao ili koristis nesto open source gotovo?

Nakon fresh installa, pgsql je nesto drukciji od mysql-a (davno sam se doduse s tim igrao, ali ako se sjecam postojala je neka 'template1' baza i 'postgres' user koji je kao imao root privilegije... pa se moglo spojiti na tu template1 bazu i od tamo raditi create database ili pokretati skripte koje dodju s bazom, svastanesto...)

Da probas malo detaljnije objasniti ili dati komad koda koji izbacuje gresku? Mozda bi nekome iskusnijem bilo lakse uputiti te na pravi put...



Sredih nakon dugo prckanja .. nije bio dobro sredjen user u bazi podataka ! Smile

my mistake ....

no svejedno hvala

_________________
"Revenge is best served cold" Smile

www.holobit.net - linux freaks
http://balegari.bxteam.org - Clan pages
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group