Top "Database-connection" questions

A database connection is a facility that allows client software to communicate with database server software, whether on the same machine or not.

How connect Postgres to localhost server using pgAdmin on Ubuntu?

I installed Postgres with this command sudo apt-get install postgresql postgresql-client postgresql-contrib libpq-dev Using psql --version on terminal I get …

postgresql database-connection pgadmin
PG::ConnectionBad - could not connect to server: Connection refused

Every time I run my rails 4.0 server, I get this output. Started GET "/" for 127.0.0.1 at 2013-11-06 23:56:36 -0500 PG::ConnectionBad …

ruby-on-rails ruby ruby-on-rails-4 database-connection pg
Pass connection string to code-first DbContext

How do I pass a connection string to entity framework's code-first DbContext? My database generation works correctly when both DbContext …

c# entity-framework database-connection
How does spring.jpa.hibernate.ddl-auto property exactly work in Spring?

I was working on my Spring boot app project and noticed that, sometimes there is a connection time out error …

spring hibernate jpa database-connection ddl
Is there a timeout for idle PostgreSQL connections?

1 S postgres 5038 876 0 80 0 - 11962 sk_wai 09:57 ? 00:00:00 postgres: postgres my_app ::1(45035) idle 1 S postgres 9796 876 0 80 0 - 11964 sk_wai 11:01 ? 00:00:00 postgres: postgres my_app ::1(43084) idle …

postgresql database-connection
How to list active connections on PostgreSQL?

Is there a command in PostgreSQL to select active connections to a given database? psql states that I can't drop …

sql postgresql database-connection listings
What is the point of "Initial Catalog" in a SQL Server connection string?

Every SQL Server connection string I ever see looks something like this: Data Source=MyLocalSqlServerInstance;Initial Catalog=My Nifty Database; …

sql-server database sql-server-2005 connection-string database-connection
ExecuteReader requires an open and available Connection. The connection's current state is Connecting

When attempting to connect to MSSQL database via ASP.NET online, I will get the following when two or more …

c# .net sql-server ado.net database-connection