answersLogoWhite

0


Best Answer

Postgresql is a database server. It can run on any machine, not just linux. A variety of applications need databases, some of them connect to Postgresql. An application connects to the database in the same way, reguardless of which system you are running. You could be running Windows, OSX, Linux, BSD, Solaris, etc... it doesn't matter.

To answer your question, you connect to the database using whatever programming language you are using. The connection will be the same reguardless of what operating system you are running, but will be different depending on what language you are writing your application in.

For example, if you wanted to connect to a Postgresql database in python, you would do something like this:

import pg

con1 = pg.connect('testdb', 'myhost', 5432, None, None, 'bob', None)

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

call joseph kony because he knows

This answer is:
User Avatar
User Avatar

Rama Krishnan

Lvl 1
1y ago
We can install thr postgresql through rpm please find the link
User Avatar

Rama Krishnan

Lvl 1
1y ago
We can install thr postgresql through rpm please find the link
User Avatar

Rama Krishnan

Lvl 1
1y ago
We can install thr postgresql through rpm please find the link

Add your answer:

Earn +20 pts
Q: How do you connect to Postgresql in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the source code for the sql server in Linux?

There are several SQL servers available for Linux. You can get the source code for MySQL and PostgreSQL from their respective websites.


What are two Database management systems products that run under the Linux operating system?

There are lot of Database Management systems that run on Linux, but MySQL and PostgreSQL seem to be the mostly used Database Management systems.


How to connect database in C programming language c?

It depends on the database (eg Oracle, MySql, Postgresql), obviously.


Which services enables Linux users to connect to the Microsoft network?

Microsoft Connect


What do you do in order to ensure that the JDBC driver for PostgreSQL is available to the DriverManager?

Call java.sql.DriverManager.loadDriver("postgresql");.


How do you connect internet with Tata Photon in Redhat Linux 5?

You just have to plug the device and Linux will load the drivers automatically.


Can you get Windows Messenger on Linux?

Microsoft does not make a messenger for Linux. However, several Linux clients can connect to the Windows Live Messenger network, such as Pidgin, Kopete, and aMSN.


How does a Linux PC connect to Internet automatically?

Change your ISP service to cable or dsl


Where can you find php scripts that support postgresql?

Hello everybody please where can i find php scripts lms cms... that support postgresql?? THANKS for advance.


Where can you get a good database management?

If you are running Linux, the best database management systems are MySQL, Apache Derby, PostgreSQL, HSQLDB (HyperSQL), or Ingres. However, there are many types of database management softwares, so please be more specific with your question if this was not the answer you were looking for.


Can I talk with Yahoo Messenger in Ubuntu Linux?

The Linux / Unix version of Yahoo! Messenger is terribly outdated, and probably won't even connect. The Windows version does not run well, even under Wine. However, there are native clients you can use to connect, such as Pidgin or Kopete.


What does ipp stand for in linux protocols?

It's a protocol for use in CUPs to connect to network-enabled printers.