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 [2019/11/18 13:04] – [Table] dregad | 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 |
| - | | new | true | + | | new | |
| - | | persist | + | | persist |
| - | | persistent | + | | persistent |
| - | | debug | true | + | | debug | |
| - | | role | + | | port |
| - | | dialect | + | | socket |
| - | | charset | + | | nls_date_format |
| - | | buffers | + | | cachesecs |
| - | | fetchmode | + | | memCache |
| - | | charpage | + | | memCacheHost |
| - | | clientflags | + | | memCachePort |
| - | | port | + | | memCacheCompress |
| - | | unix_socket | + | |
| - | | nls_date_format | + | |
| - | | cachesecs | + | |
| - | | memCache | + | |
| - | | memCacheHost | + | |
| - | | memCachePort | + | |
| - | | memCacheCompress | + | |
| ===== Error Codes ===== | ===== Error Codes ===== | ||
v5/reference/connection/adonewconnection.1574078696.txt.gz · Last modified: by dregad
