Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:sql:connections:home [2011/01/11 20:32]
els
— (current)
Line 1: Line 1:
-{{page>:​top_add&​nofooter&​noeditbtn}} 
  
- 
-====== Development:​ SQL ====== 
- 
-===== Connection Strings ===== 
- 
-**[[dev:​sql:​connections:​home|Overview]]** | [[dev:​sql:​connections:​odbc|Connection Strings in ODBC]] | [[dev:​sql:​connections:​jdbc|Connection Strings in JDBC]] 
- 
----- 
- 
- 
- 
-==== Overview ==== 
- 
-Omnidex uses Connection Strings to connect to Omnidex Environment Files. ​ A Connection String is a universal syntax that describes the location, network information and options for connecting to the environment file.  ​ 
- 
-The full syntax of the Omnidex Connection String is: 
- 
-  [ //host// : //port// : //pool// ] //​filename//​ [ //node// ] &//​options//​ 
- 
-Portions of the connection string are optional and can be omitted as long as enough information remains to support the connection. ​ Omitted portions will be replaced with their corresponding defaults. ​ The defaults are: 
- 
-^ Component ​     ^ Default treatment ​                                                                           ^ 
-| host           | Defaults to //​localhost// ​                                                                   | 
-| port           | Defaults to 7555                                                                             | 
-| pool           | Defaults to a non-pooled environment ​                                                        | 
-| filename ​      | Defaults to the pooled environment. ​ May only be omitted if a pool is provided ​              | 
-| node           | Defaults to the named environment,​ rather than a specific node.  Only used in Omnidex Grids. | 
-| options ​       | Defaults to a connection with READ-WRITE privileges ​                                         | 
-  
-The following are examples of shortened versions of connection strings that use some of these defaults: 
- 
-^ Short version ​          ^ Full version ​              ^ Description ​                          ^ 
-| filename ​               | [localhost:​7555]filename ​  | Connects to the named Environment File on the local machine using port 7555.  No connection pooling is involved. ​     | 
-| [host]filename ​         | [host:​7555]filename ​       | Connects to the named Environment File on the named host using port 7555.  No connection pooling is involved. ​        | 
-| [host:​port]filename ​    | [host:​port]filename ​       | Connects to the named Environment File on the named host and port. No connection pooling is involved. ​                | 
-| [::​pool]filename ​       | [localhost:​7555:​pool] ​     | Connects to the named Environment File on the local host, using port 7555, using the named pool. (GENERIC pools only) |  
-| [::​pool] ​               | [host:​7555:​pool] ​          | Connects to the named connection pool on the local machine using port 7555.                                           | 
- 
-Note that each of the individual segments of the connection strings may be replaced with environment variables. 
- 
- 
- 
-=====  ===== 
- 
-**[[dev:​sql:​connections:​odbc|Next]]** 
- 
-====== Additional Resources ====== 
- 
-{{page>:​section:​chapter:​see_also&​nofooter&​noeditbtn}} 
- 
-{{page>:​bottom_add&​nofooter&​noeditbtn}} 
 
Back to top
dev/sql/connections/home.1294777941.txt.gz ยท Last modified: 2012/10/26 14:52 (external edit)