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

/PHP_5_6/ext/pdo/tests/
H A Dpdo_test.inc22 $dsn = getenv('PDOTEST_DSN');
35 $db = new $classname($dsn, $user, $pass, $attr);
38 die("Could not create PDO object (DSN=$dsn, user=$user)\n");
/PHP_5_6/ext/pdo_dblib/tests/
H A Dconfig.inc4 $dsn = getenv('PDO_DBLIB_TEST_DSN');
6 $dsn = 'dblib:host=localhost;dbname=test';
20 $db = new PDO($dsn, $user, $pass);
/PHP_5_6/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_6/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_6/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);
1218 ZEND_ARG_INFO(0, dsn)
/PHP_5_6/ext/odbc/
H A Dphp_odbc.c148 ZEND_ARG_INFO(0, dsn)
155 ZEND_ARG_INFO(0, dsn)

Completed in 51 milliseconds