|
32.
|
|
|
The Application communicates with the Driver Manager using the standard ODBC calls.
![](/@@/translation-newline)
The application does not care; where the data is stored, how it is stored, or even how the system is configured to access the data.
![](/@@/translation-newline)
The Application only needs to know the data source name (DSN)
![](/@@/translation-newline)
The Application is not hard wired to a particular database system. This allows the user to select a different database system using the ODBCConfig Tool.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
本程序使用标准的ODBC调用来与驱动管理程序通信。
![](/@@/translation-newline)
本程序与数据的存储位置,存储方式,以及系统对数据连接方式的配置无关。
![](/@@/translation-newline)
本程序只需要数据源名称即可 (DSN)
![](/@@/translation-newline)
本程序并不与特定的数据库系统绑定。这样可以使用户通过ODBC配置工具选择不同的数据库系统。
|
|
Translated and reviewed by
Tao Wei
|
|
|
|
Located in
src/odbcconfig.c:892
|
|
33.
|
|
|
gODBCConfig - Driver Manager
|
|
|
|
gODBC配置 - 驱动管理
|
|
Translated by
xiaocao2000
|
|
Reviewed by
Feng Chao
|
Shared: |
|
gODBC配置-驱动程序管理器
|
|
|
Suggested by
TaoFei
|
|
|
|
Located in
src/odbcconfig.c:951
|
|
34.
|
|
|
The Driver Manager carries out a number of functions, such as: ![](/@@/translation-newline)
1. Resolve data source names via odbcinst lib) ![](/@@/translation-newline)
2. Loads any required drivers ![](/@@/translation-newline)
3. Calls the drivers exposed functions to communicate with the database. Some functionality, such as listing all Data Source, is only present in the Driver Manager or via odbcinst lib).
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
本驱动管理程序可以完成许多功能,如下所示: ![](/@@/translation-newline)
1. 通过ODBC数据库分解数据源名称) ![](/@@/translation-newline)
2. 加载任何需要的驱动。 ![](/@@/translation-newline)
3. 使驱动程序与数据库进行通讯。某些功能,如列出当前所有数据源,仅在驱动管理工具中或通过驱动数据库工具来实现)。
|
|
Translated and reviewed by
Tao Wei
|
|
|
|
Located in
src/odbcconfig.c:967
|
|
35.
|
|
|
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
|
|
Translated and reviewed by
TaoFei
|
|
|
|
Located in
src/odbcconfig.c:977
|
|
36.
|
|
|
ODBCConfig - Drivers
|
|
|
|
ODBC配置 - 驱动
|
|
Translated by
xiaocao2000
|
|
Reviewed by
Feng Chao
|
Shared: |
|
ODBC配置-驱动程序
|
|
|
Suggested by
TaoFei
|
|
|
|
Located in
src/odbcconfig.c:1058
|
|
37.
|
|
|
The ODBC Drivers contain code specific to a Database System and provides a set of callable functions to the Driver Manager. ![](/@@/translation-newline)
Drivers may implement some database functionality when it is required by ODBC and is not present in the Database System. ![](/@@/translation-newline)
Drivers may also translate data types.
![](/@@/translation-newline)
ODBC Drivers can be obtained from the Internet or directly from the Database vendor.
![](/@@/translation-newline)
Check http://www.unixodbc.org for drivers
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
ODBC驱动包含特殊的联接到数据库系统的代码,同时还提供了可供驱动管理工具使用的一套功能。 ![](/@@/translation-newline)
在ODBC需要,而系同中并不存在相应功能的情况下,驱动程序可以执行某些特殊的数据库功能。 ![](/@@/translation-newline)
驱动程序还可以转换数据类型。
![](/@@/translation-newline)
ODBC驱动可以从网络或销售商处获得。
![](/@@/translation-newline)
驱动查找网址 http://www.unixodbc.org
|
|
Translated and reviewed by
Tao Wei
|
|
|
|
Located in
src/odbcconfig.c:1093
|
|
38.
|
|
|
ODBCConfig - Database Systems
|
|
|
|
ODBC配置 - 数据库系统
|
|
Translated by
xiaocao2000
|
|
Reviewed by
Feng Chao
|
Shared: |
|
ODBC配置-数据库系统
|
|
|
Suggested by
TaoFei
|
|
|
|
Located in
src/odbcconfig.c:1165
|
|
39.
|
|
|
Perhaps the most common type of Database System today is an SQL Server
![](/@@/translation-newline)
SQL Servers with Heavy Functionality
ADABAS-D
Empress
Sybase - www.sybase.com
Oracle - www.oracle.com
![](/@@/translation-newline)
SQL Servers with Lite Functionality
MiniSQL
MySQL
Solid
![](/@@/translation-newline)
The Database System may be running on the local machine or on a remote machine. It may also store its information in a variety of ways. This does not matter to an ODBC application because the Driver Manager and the Driver provides a consistent interface to the Database System.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
也许现在大多数的数据库系统类型都是SQL数据库
![](/@@/translation-newline)
重量级SQL数据库
ADABAS-D
Empress
Sybase - www.sybase.com
Oracle - www.oracle.com
![](/@@/translation-newline)
轻量级SQL数据库
MiniSQL
MySQL
Solid
![](/@@/translation-newline)
数据库系统可能运行于本地或远程机器上。可能的存储数据方式也有很多种。但这些对于ODBC应用程序来说都不重要,因为驱动管理和驱动程序提供了联接到数据库的统一接口。
|
|
Translated and reviewed by
Tao Wei
|
|
|
|
Located in
src/odbcconfig.c:1181
|
|
40.
|
|
|
ODBCConfig - odbc.ini
|
|
|
|
ODBC配置 - odbc.ini
|
|
Translated by
xiaocao2000
|
|
Reviewed by
Feng Chao
|
Shared: |
|
ODBC配置-odbc.ini
|
|
|
Suggested by
TaoFei
|
|
|
|
Located in
src/odbcconfig.c:1272
|
|
41.
|
|
|
This is the main configuration file for ODBC. ![](/@@/translation-newline)
It contains Data Source configuration.
![](/@@/translation-newline)
It is used by the Driver Manager to determine, from a given Data Source Name, such things as the name of the Driver.
![](/@@/translation-newline)
It is a simple text file but is configured using the ODBCConfig tool. ![](/@@/translation-newline)
The User data sources are typically stored in ~/.odbc.ini while the System data sources are stored in /etc/odbc.ini
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
这是ODBC的主要配置文件。 ![](/@@/translation-newline)
包含了数据源的配置。
![](/@@/translation-newline)
用于驱动管理程序通过给定的数据源名称,如驱动名称,来判断使用相应的驱动
![](/@@/translation-newline)
配置文件是简单的文本文件,但其是通过ODBC配置工具来进行配置的。 ![](/@@/translation-newline)
用户数据源一般存放在~/.odbc.ini 文件中,而系统数据源存放于 /etc/odbc.ini
|
|
Translated and reviewed by
Feng Chao
|
Shared: |
|
这是ODBC的主要配置文件。 ![](/@@/translation-newline)
文件包含有数据源的配置。
![](/@@/translation-newline)
文件用于驱动程序管理器从给定的数据源名称来确定诸如驱动程序名称之类的信息。
![](/@@/translation-newline)
文件是简单的文本文件,不过是用ODBC配置工具来进行配置。 ![](/@@/translation-newline)
作为其特征,用户数据源保存在~/.odbc.ini文件中,而系统数据源保存在/etc/odbc.ini文件中。
|
|
|
Suggested by
TaoFei
|
|
|
|
Located in
src/odbcconfig.c:1288
|