PostgreSQL: One database to multiple user -


I have a PostgreSQL version 9.3. I have created the database name db1 Now I need to share with other users who are connected with all LAN, to connect other applications from the same database.

Server in SQL : We can do this by selecting the server name with the login name.

enter </ P> </ p> <ul> <li> Is this possible PostgreSQL? </ Li> <li> If so, how can this be? What is this? </ Li> <li> What is the process? </ Li> </ ul> </ div> <p> <Div class =

You will need to modify pg_hba.conf to allow remote connections to the database. pg_hba Information about .conf can be found.

After that, you can connect programming with a string, Add File -> Server ... to connect to a GUI application like.

from pgAdmin (remote or locally), similar to your image. Select / strong> and enter the connection information in the dialog box. Here is an example of a window:

Your client computers will also need the same with PostgreSQL drivers. If you are doing this in Windows, then you will probably use the ODBC. Postgresqua ODBC driver connection string can be found information on the format.

Here's an example of what pgAdmin looks like:


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -