diff --git a/language-snippets.ent b/language-snippets.ent
index 23711bc4abcb..e0227354e10f 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -1856,6 +1856,33 @@ and _ to match a single
'>
+
+ 8.4.0
+
+ user and password are now nullable,
+ they are now also optional and default to &null;.
+
+
+
+ 8.4.0
+
+ Previously, using an empty string for password would not include
+ pwd in the generated connection string for dsn.
+ It is now generated to include a pwd which has an empty string as its value.
+ To restore the previous behaviour password can now be set to &null;.
+
+
+
+ 8.4.0
+
+ Previously, if dsn contained uid or pwd
+ both user and password parameters were ignored.
+ Now user is only ignored if dsn contains
+ uid, and password is only ignored if
+ dsn contains pwd.
+
+
'>
+
8.4.0
diff --git a/reference/pdo_odbc/reference.xml b/reference/pdo_odbc/reference.xml
index 1666e2e6a124..69d463ffccb7 100644
--- a/reference/pdo_odbc/reference.xml
+++ b/reference/pdo_odbc/reference.xml
@@ -116,6 +116,41 @@
+
+
+ &reftitle.changelog;
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ 8.4.0
+
+ When passing an empty string to the password argument in the PDO constructor, pwd
+ was not included in the connection string created until now, but the behavior has been changed to include
+ it as an empty string. Passing &null; for the password argument in the PDO constructor results in the same
+ behavior as before.
+
+
+
+ 8.4.0
+
+ Changed the behavior to ignore the user name argument and the password argument in the PDO constructor
+ separately when the DSN contains uid or pwd.
+ Previously, if included only either uid or pwd in the DSN,
+ both the user name argument and the password argument in the PDO constructor were ignored.
+
+
+
+
+
+
+
&reftitle.examples;
diff --git a/reference/uodbc/functions/odbc-connect.xml b/reference/uodbc/functions/odbc-connect.xml
index e5df5a0d0ba9..821fd263c507 100644
--- a/reference/uodbc/functions/odbc-connect.xml
+++ b/reference/uodbc/functions/odbc-connect.xml
@@ -11,8 +11,8 @@
Odbc\Connectionfalseodbc_connect
stringdsn
- stringuser
- stringpassword
+ stringnulluser&null;
+ stringnullpassword&null;
intcursor_optionSQL_CUR_USE_DRIVER
@@ -49,6 +49,9 @@
The username.
+ This parameter is ignored if dsn contains uid.
+ To connect without specifying a user,
+ use &null;.
@@ -57,6 +60,9 @@
The password.
+ This parameter is ignored if dsn contains pwd.
+ To connect without specifying a password,
+ use &null;.
@@ -115,6 +121,7 @@
&odbc.changelog.connection-return;
+ &odbc.changelog.credential-params;
diff --git a/reference/uodbc/functions/odbc-pconnect.xml b/reference/uodbc/functions/odbc-pconnect.xml
index f51794d255cb..871ad45b3797 100644
--- a/reference/uodbc/functions/odbc-pconnect.xml
+++ b/reference/uodbc/functions/odbc-pconnect.xml
@@ -11,8 +11,8 @@
Odbc\Connectionfalseodbc_pconnect
stringdsn
- stringuser
- stringpassword
+ stringnulluser&null;
+ stringnullpassword&null;
intcursor_optionSQL_CUR_USE_DRIVER
@@ -56,6 +56,7 @@
&odbc.changelog.connection-return;
+ &odbc.changelog.credential-params;