Minor - Changes in CLI script config - refs BT#13243

pull/2487/head
Yannick Warnier 7 years ago
parent d5bf0bf748
commit 16ab5d9483
  1. 12
      tests/scripts/fix_group_items_with_old_db.php

@ -30,9 +30,9 @@ require __DIR__.'/../../main/inc/global.inc.php';
* Old database configuration
*/
$oldDBHost = 'localhost';
$oldDBName = 'carmelitas19';
$oldDBUser = 'carmelitas19';
$oldDBPass = 'carmelitas19';
$oldDBName = 'db1.9';
$oldDBUser = 'db1.9';
$oldDBPass = 'db1.9';
try {
$oldDBH = new PDO('mysql:host=localhost;dbname='.$oldDBName, $oldDBUser, $oldDBPass);
} catch (PDOException $e) {
@ -43,9 +43,9 @@ try {
* New database configuration
*/
$newDBHost = 'localhost';
$newDBName = 'carmelitas11';
$newDBUser = 'carmelitas11';
$newDBPass = 'carmelitas11';
$newDBName = 'db1.11';
$newDBUser = 'db1.11';
$newDBPass = 'db1.11';
try {
$newDBH = new PDO('mysql:host=localhost;dbname='.$newDBName, $newDBUser, $newDBPass);
} catch (PDOException $e) {

Loading…
Cancel
Save