数据库连接(database connection)是数据库服务器与客户端之间的通信联系。客户通过数据库连接发送命令、接收服务器返回的结果。
IBM DB2, Microsoft SQL Server, Oracle, MySQL, PostgreSQL, 与Neo4j使用连接池技术来改善性能。
建造连接时,通常要提供一个驱动程序或与一个。例如, Server=sql_box;Database=Common;User ID=uid;Pwd=password;.
一旦连接建立,它可以被打开、关闭、设置性质。
参见
- ADO
- ADO.NET
- ODBC
- JDBC
*
- RDBMS
参考文献
引用
来源
- [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdataidbconnectionclasstopic.asp IDbConnection Interface on MSDN]
- [https://web.archive.org/web/20080428080316/http://betav.com/blog/billva/2007/05/managing_and_monitoring_net_co.html Managing and Monitoring .NET Connections whitepaper.]
- [https://web.archive.org/web/20080501014734/http://betav.com/blog/billva/2006/06/getting_and_staying_connected_1.html Getting and Staying Connected whitepaper.]
- Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition) Addison Wesley, William Vaughn, .
外部链接
- [http://ConnectionStrings.com ConnectionStrings.com]
评论 (0)