Searched refs:dsn (Results 1 - 5 of 5) sorted by relevance

/PHP_5_3/ext/pdo/tests/
H A Dpdo_test.inc23 $dsn = getenv('PDOTEST_DSN');
36 $db = new $classname($dsn, $user, $pass, $attr);
39 die("Could not create PDO object (DSN=$dsn, user=$user)\n");
/PHP_5_3/ext/pdo_mysql/tests/
H A Dmysql_pdo_test.inc9 $dsn = self::getDSN($mydsn);
24 $db = new $classname($dsn, $user, $pass, $attr);
26 die("Could not create PDO object (DSN=$dsn, user=$user)\n");
54 $dsn = substr(PDO_MYSQL_TEST_DSN,
59 $parts = explode(';', $dsn);
70 $dsn = 'mysql:';
72 $dsn .= sprintf('%s=%s;', $k, $v);
75 $dsn .= $addition;
77 $dsn = substr($dsn,
[all...]
/PHP_5_3/ext/pdo/
H A Dpdo_dbh.c188 char *dsn = NULL; local
192 dsn = php_stream_get_line(stream, buf, buflen, NULL);
195 return dsn;
199 /* {{{ proto void PDO::__construct(string dsn, string username, string passwd [, array options])
226 /* let's see if this string has a matching dsn in the php.ini */
229 snprintf(alt_dsn, sizeof(alt_dsn), "pdo.dsn.%s", data_source);
1221 ZEND_ARG_INFO(0, dsn)
/PHP_5_3/ext/pdo_odbc/
H A Dodbc_driver.c450 char *dsn; local
451 spprintf(&dsn, 0, "%s;UID=%s;PWD=%s", dbh->data_source, dbh->username, dbh->password);
453 dbh->data_source = dsn;
/PHP_5_3/ext/odbc/
H A Dphp_odbc.c148 ZEND_ARG_INFO(0, dsn)
155 ZEND_ARG_INFO(0, dsn)

Completed in 29 milliseconds