v5:reference:connection:adonewconnection
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:adonewconnection [2017/04/15 18:41] – mnewnham | v5:reference:connection:adonewconnection [2020/12/08 10:39] (current) – better use PHP string concatenation for example instead of javascript's ;-) peterdd | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| $driver = ' | $driver = ' | ||
| $DSN = " | $DSN = " | ||
| - | $db = adoNewConnection($driver | + | $db = adoNewConnection($driver |
| /* | /* | ||
| * Now connected | * Now connected | ||
| Line 52: | Line 52: | ||
| The following additional parameter can be added to the DSN connection string. Some of the parameters only work with specific drivers. | The following additional parameter can be added to the DSN connection string. Some of the parameters only work with specific drivers. | ||
| - | ^ Code ^ Value ^ Parameter | + | ^ Code ^ Driver |
| - | | new | true | + | | new | |
| - | | persist | + | | persist |
| - | | persistent | + | | persistent |
| - | | debug | true | + | | debug | |
| - | | role | string | + | | port |
| - | | dialect | + | | socket |
| - | | charset | + | | nls_date_format |
| - | | buffers | + | | cachesecs |
| - | | fetchmode | + | | memCache |
| - | | charpage | + | | memCacheHost |
| - | | clientflags | + | | memCachePort |
| - | | port | int || Sets the connection port | | + | | memCacheCompress |
| - | | socket | + | |
| - | | nls_date_format | + | |
| - | | cachesecs | + | |
| - | | memCache | + | |
| - | | memCacheHost | + | |
| - | | memCachePort | + | |
| - | | memCacheCompress | false | [[v5: | + | |
| ===== Error Codes ===== | ===== Error Codes ===== | ||
v5/reference/connection/adonewconnection.1492274487.txt.gz · Last modified: (external edit)
