v5:reference:connection:setconnectionparameter
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:setconnectionparameter [2022/07/13 03:19] – [MySQL] mnewnham | v5:reference:connection:setconnectionparameter [2026/01/30 04:21] (current) – [MySQL] mnewnham | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| ===== Database Specific Values ===== | ===== Database Specific Values ===== | ||
| ==== MySQL ==== | ==== MySQL ==== | ||
| - | // | + | // |
| + | |||
| + | === Custom Parameters === | ||
| + | ^Key^Example Value^Description^ | ||
| + | |socket||A string describing the location of an override socket name on the MySql server| | ||
| + | |port|3306|An override value for the connection port| | ||
| + | |clientFlags|MYSQLI_CLIENT_SSL_VERIFY_SERVER_CERT|Any of the allowed clientFlags values| | ||
| + | |ssl|array(' | ||
| + | |||
| + | === Examples === | ||
| <code php> | <code php> | ||
| Line 77: | Line 86: | ||
| - | ===== Other Usage ===== | + | ==== SQL Server |
| + | Parameters must be set from the list of Microsoft [[https:// | ||
| <code php> | <code php> | ||
| - | |||
| - | |||
| /* | /* | ||
| - | | + | |
| */ | */ | ||
| - | $db-> | + | $db-> |
| $db-> | $db-> | ||
| + | </ | ||
| + | ==== IDM DB2 ==== | ||
| + | Parameters must be chosen from the list of DB2 [[https:// | ||
| + | <code php> | ||
| /* | /* | ||
| - | | + | |
| */ | */ | ||
| - | $db-> | + | $db-> |
| $db-> | $db-> | ||
| </ | </ | ||
| + | ==== PDO Driver ==== | ||
| + | Any parameter from the PHP [[https:// | ||
| + | |||
| + | <code php> | ||
| + | /* | ||
| + | * Example Setting Timeout Duration | ||
| + | */ | ||
| + | $db-> | ||
| + | $db-> | ||
| + | </ | ||
v5/reference/connection/setconnectionparameter.1657675170.txt.gz · Last modified: by mnewnham
