From 45606a028b934258f85d130deaf62c188accecdc Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Fri, 24 Jul 2026 15:00:27 +0100 Subject: [PATCH] Add user and password to PDO_MYSQL DSN --- reference/pdo_mysql/reference.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/reference/pdo_mysql/reference.xml b/reference/pdo_mysql/reference.xml index 4ef1dc5d512b..1debd2c19a32 100644 --- a/reference/pdo_mysql/reference.xml +++ b/reference/pdo_mysql/reference.xml @@ -104,6 +104,26 @@ + + user + + + The name of the user for the connection. If you specify the user name + in the DSN and pass it as the second argument, PDO ignores the value of + the user name in DSN. + + + + + password + + + The password of the user for the connection. If you specify the + password in the DSN and pass it as the third argument, PDO ignores the + value of the password in DSN. + + + unix_socket