Home
last modified time | relevance | path

Searched refs:unix_socket (Results 1 – 6 of 6) sorted by relevance

/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct_ini.phpt10 if (getenv('PDO_MYSQL_TEST_DSN') !== "mysql:dbname=phptest;unix_socket=/tmp/mysql.sock")
H A Dpdo_mysql___construct_uri.phpt41 fwrite($fp, $dsn . chr(0) . ';host=nonsense;unix_socket=nonsense');
H A Dpdo_mysql___construct.phpt171 … $dsn = MySQLPDOTest::getDSN(array('unix_socket' => $socket), 'unix_socket=' . $invalid_socket);
178 … $dsn = MySQLPDOTest::getDSN(array('unix_socket' => $invalid_socket), 'unix_socket=' . $socket);
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_connection.c289 mysqlnd_set_persistent_string(&conn->unix_socket, NULL, 0, pers); in MYSQLND_METHOD()
519 …G hostname, MYSQLND_CSTRING *socket_or_pipe, unsigned int port, bool * unix_socket, bool * named_p…
531 *unix_socket = TRUE;
566 bool unix_socket = FALSE; local
633 transport = conn->m->get_scheme(conn, hostname, &socket_or_pipe, port, &unix_socket, &named_pipe);
673 if (!unix_socket && !named_pipe) {
686 conn->unix_socket.s = mnd_pestrdup(socket_or_pipe.s, conn->persistent);
687 if (unix_socket) {
691 mnd_sprintf(&p, 0, "%s via named pipe", conn->unix_socket.s);
701 if (!conn->unix_socket.s || !conn->host_info) {
[all …]
H A Dmysqlnd_structs.h517 …G hostname, MYSQLND_CSTRING *socket_or_pipe, unsigned int port, bool * unix_socket, bool * named_p…
896 MYSQLND_STRING unix_socket; member
/PHP-8.1/ext/pdo_mysql/
H A Dmysql_driver.c665 char *host = NULL, *unix_socket = NULL; local
929 unix_socket = vars[4].optval;
951 port, unix_socket, connect_opts, MYSQLND_CLIENT_NO_FLAG) == NULL) {
953 …if (mysql_real_connect(H->server, host, dbh->username, dbh->password, dbname, port, unix_socket, c…

Completed in 31 milliseconds