Changeset 42571
- Timestamp:
- Dec 24, 2023, 9:43:38 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/ippMonitor/raw/ipp.php
r42384 r42571 100 100 // define the DSN strings. NOTE: PDO uses a different format from DB or MDB2 101 101 if ($database == $CZARDBNAME) { 102 $dsn_pdo = "mysql:host=$ DBHOST;dbname=$database";102 $dsn_pdo = "mysql:host=$CZARDBHOST;dbname=$database"; // note this is case sensitive 103 103 $dsn = "mysql://$DBUSER:$DBPASS@$CZARDBHOST/$database"; 104 104 $dsnerr = "mysql://$DBUSER:XXX@$CZARDBHOST/$database"; // only used to report the error 105 105 } else { 106 $dsn_pdo = "mysql:host=$ CZARDBHOST;dbname=$database"; // note this is case sensitive106 $dsn_pdo = "mysql:host=$DBHOST;dbname=$database"; 107 107 $dsn = "mysql://$DBUSER:$DBPASS@$DBHOST/$database"; 108 108 $dsnerr = "mysql://$DBUSER:XXX@$DBHOST/$database"; // only used to report the error
Note:
See TracChangeset
for help on using the changeset viewer.
