Lines Matching refs:dsn
12 $dsn = self::getDSN($mydsn);
24 $db = $classname::connect($dsn, $user, $pass, $attr);
26 $db = new $classname($dsn, $user, $pass, $attr);
30 die("Could not create PDO object (DSN=$dsn, user=$user)\n");
61 $dsn = substr(PDO_MYSQL_TEST_DSN,
66 $parts = explode(';', $dsn);
77 $dsn = 'mysql:';
79 $dsn .= sprintf('%s=%s;', $k, $v);
82 $dsn .= $addition;
84 $dsn = substr($dsn, 0, strlen($dsn) -1);
86 return $dsn;