Advertisement
Guest User

Untitled

a guest
Oct 28th, 2015
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.09 KB | None | 0 0
  1. ERROR [User Error]: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory
  2. IN GET dev/build
  3. Line 159 in /Users/aurelienchappard/Documents/deefuse/Projets/deefuse/deefuse-compta/dev/framework/model/connect/PDOConnector.php
  4.  
  5. Source
  6. ======
  7.   150:          $options[PDO::ATTR_EMULATE_PREPARES] = true;
  8.   151:      }
  9.   152:
  10.   153:      // May throw a PDOException if fails
  11.   154:      $this->pdoConnection = new PDO(
  12.   155:          $driver.implode(';', $dsn),
  13.   156:          empty($parameters['username']) ? '' : $parameters['username'],
  14.   157:          empty($parameters['password']) ? '' : $parameters['password'],
  15.   158:          $options
  16. * 159:      );
  17.   160:
  18.   161:      // Show selected DB if requested
  19.   162:      if($this->pdoConnection && $selectDB && !empty($parameters['database'])) {
  20.   163:          $this->databaseName = $parameters['database'];
  21.   164:      }
  22.   165:  }
  23.  
  24. Trace
  25. =====
  26. PDO->__construct(mysql:host=localhost;charset=utf8,root,root,Array)
  27. PDOConnector.php:159
  28.  
  29. PDOConnector->connect(Array)
  30. MySQLDatabase.php:35
  31.  
  32. MySQLDatabase->connect(Array)
  33. DB.php:244
  34.  
  35. DB::connect(<filtered>)
  36. cli-script.php:106
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement