LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-16-2002, 12:20 AM   #1
Sridhar Guntur
LQ Newbie
 
Registered: Oct 2002
Location: 808 Ridge Drive apt #110 Dekalb IL-60115
Distribution: RedHat 7.2
Posts: 11

Rep: Reputation: 0
postgresql jdbc database server...?????????


This is pissing me off really bad.I want to execute a java program which has to connect to a database and i have seen that redhat 7.2 provides postgresql database server. i have looked at the postgresql.conf file and all the lines are commented(all lines start with #). i could start the postgresql server and su - postgres and create a database.but i donot see postgresql in the netstat output because i heard that it has to connect to port 5432 (i remove the commnet from that line in the postgresql.conf file) to be able to use jdbc driver version 2.Btw i downloaded pgjdbc2.jar from postgresql sit e and renamed it to postgresql.jar. even now i get a class not found error on Class.forName("org.postgresql.Driver"); line in my java program.i have also uncommented the tcpip_socket=true . but i dont know if i have to uncomment any other line in postgresql.conf or if i have to get jdbc driver for my java1.4 version or ??????????
i am really clueless . ihave searched a lot but the documentation is too clumsy and i found it real hard to understand what to do.Please give me step by step introduction to what i should do or direct me to a howto.i would be real greatful .i know sql but iam not at all knowledgeble about the database server management and configuration.
thanks in advance
Sridhar Guntur.
 
Old 10-17-2002, 02:42 PM   #2
Azrael
Member
 
Registered: Sep 2002
Location: Germany
Distribution: SuSE 8.0
Posts: 96

Rep: Reputation: 15
Did you start it with the option -i to enable tcp/ip support?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Form for a postgresql database Evan P. Linux - Software 1 02-12-2007 07:43 AM
how to specify the database connector like odbc jdbc for connecting to an msaccess msalimane Mandriva 1 12-08-2004 06:03 AM
jdbc & postgresql pelgrimforever Linux - Software 2 08-27-2004 11:15 AM
postgresql -odbc & postgresql-jdbc installation kjsubbu Linux - Software 0 06-19-2003 02:50 AM
postgresql+jdbc in redhat 7.3 need help pleaseee!! Sridhar Guntur Linux - Software 0 10-22-2002 12:19 AM


All times are GMT -5. The time now is 11:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration