Connection String Examples
All connectors in Stadium are defined by ConnectionStrings. This page details how to construct them.
Database
Section titled “Database”-
Connection Type
Select from this list: SQL Server, Oracle, or ODBC. -
When using SQL Server:
- Server Name
A SQL Server name. This is typically a / combination. - Authentication
The username and password combination to access the database server. - Use Windows Authentication
SQL Server can be set up to be accessible by using Windows credentials. - Select or enter a database name
The database you wish to access when using the connection. If the database server is accessible from the designer machine, then you can use the drop-down to find the database.
- Server Name
-
When using Oracle:
- Server Name
An Oracle server name. This is typically a / combination. - Authentication
The username and password combination to access the database server.
- Server Name
-
When using ODBC:
- DSN Name
Use the System DSN name you specified when setting up your ODBC Datasource.
For further assistance, go here for details on how to create a DSN.
An alternative to using DSN is to use a connection string that contains the ODBC driver details, as set out below.
- Authentication
The username and password combination to access the database server. - Select or enter a database name
The database you wish to access when using the connection. If the database server is accessible from the designer machine, then you can use the drop-down to find the database.
- DSN Name
Using an ODBC driver name to make a connection
- Add a Database Connector by clicking the Connector button in the toolbar.
- Close the Database Connection Editor without adding any connection details.
- Go to the Properties panel of your Database Connector to add the relevant connection details:
-
Set the Connection Type to ODBC.
-
Type in your Connection String.
Example: Driver={MySQL ODBC 8.0 ANSI Driver};Server=localhost;Port=3306;Database=sakila;User=xxxxx;Password=xxxxx;
For more help on connection strings go to connectionstrings.com
File System
Section titled “File System”-
Path
This is the folder path on the server or network that will be made accessible via this connector.
Note: Stadium currently supports UNC paths, but not mapped drives yet.
-
User
The username to gain access to the folder. This is in the format of \.
If no value is provided for this property, the Application Pool User will be used. -
Password
The password that will be used in combination with the username to gain access to the folder.
Web Service
Section titled “Web Service”-
Base URL
This is the base URL of the web service.
-
Timeout
This value corresponds to the duration in seconds before a request to the web service times out.
-
Authentication
Available options:
- Anonymous - For web services requiring no authentication.
- Basic - For web services requiring the HTTP basic method of authentication. Required: username and password.
- Api Key - For web services requiring authentication through an API key. Required: key name, key value, and key location (QueryString/Header/Cookie).