你所作的是尽量处理好静态连接库。
定义到每个库的连接。
创建到存储库的连接。
连接到存储库和项目区域。
接下来,我们像先前那样连接到数据库。
Next, we connect to the database as we have done previously.
接下来,连接到该数据库。
接下来,连接该数据库。
接下来创建数据库连接。
关闭和停止数据库连接。
这个函数尝试关闭以前打开的数据库连接。
This function attempts to close the previously opened database connection.
这个脚本只处理一个可能的错误:数据库连接故障。
This script deals with only one possible error: a failure to connect to the database.
在这一点上,您还可以选择测试数据库连接。
You also have the option to test the database connection at this point.
这时将打开新的数据库连接窗口,如上所示。
The new database connection window will open, as shown above.
测试是否能够成功连接到数据库。
在刷新用于数据库连接的列表之后,添加新层。
Add the new layer after refreshing the list for the database connection.
问题:可能仍然可以激活数据库或连接到数据库。
Problem: It may be possible to activate or connect to the database.
接下来,可以通过发出连接命令连接数据库。
提供数据库连接信息。
现在可以定义数据库连接性。
首先,您设置一个到本地数据库的数据库连接对象。
First, you set up a database connection object to a local database.
创建到目标数据库的连接。
度量连接到数据库的时间。
在应用程序重新尝试连接数据库时,它将会成功连接。
Once the application reattempts to connect to the database, it will get the connection successfully.
这个数据库连接也可能会影响运行sql脚本的结果。
The database connection also might affect the results when you run the SQL script.
这里有多个方法用来自动确定数据库连接信息。
There are multiple ways to automatically determine the database connection information.
输入您的身份信息以连接到存储库中。
下面的步骤介绍了如何手工地创建数据库连接。
The steps that follow show how to manually create a database connection.
数据库连接次数对于应用程序来说是不变的。
The number of database hits is constant for the application.
确认你的数据库连接信息的安全性。
单击ok保存数据库连接信息。
应用推荐