The CONNECTOR object must be used on each page in which a component object is used. The connector "points" to the physical database you created, allowing you to access the data and query specific tables and fields. Note that the Connector attributes differ according to the platform being used.
If using ASP and ColdFusion...
|
Attribute |
Description |
Required? |
|
DATASOURCE |
The data source name (DSN) created to connect to the database containing your table(s). The data source must be created before connecting to the physical database.
|
Required |
|
USER |
Username required to access your database.
|
Optional |
|
PASSWORD |
Password corresponding with the username required to connect to your database.
|
Optional |
|
SCHEMA EDITOR |
Use an SQL Editor to configure tables and variables. See Using the Schema Editor. |
Optional |
If using PHP...
|
Attribute |
Description |
Required? |
|
DATASOURCE |
The data source name (DSN) created to connect to the database containing your table(s). The data source must be created before connecting to the physical database.
If using a direct connection, the datasource will be used to associate table and field data with this profile.
|
Required |
|
DB ENGINE
|
The engine used to create your database. Options are:
|
Required |
|
CUSTOM ENGINE
|
Custom engine, such as Oracle or Sybase, used to create your database. See Before Getting Started. |
Optional |
|
DATABASE
|
The name of the Database being queried. |
Required |
|
HOST
|
The name of the computer on which your program is running. |
Required |
|
USER |
Username required to access your database.
|
Optional |
|
PASSWORD |
Password corresponding with the username required to connect to your database.
|
Optional |
|
CONNECTION TYPE
|
The type of connection used to connect to your database. Options are:
|
Required |
|
SCHEMA EDITOR |
Use an SQL Editor to configure tables and variables. See Using the Schema Editor. |
Optional |