diff --git a/functions/mysql.xml b/functions/mysql.xml index 3b502a2a63..14ed6aa18c 100644 --- a/functions/mysql.xml +++ b/functions/mysql.xml @@ -164,8 +164,8 @@ - Returns: A positive MySQL link identifier on success, or false on - error. + Returns: A positive MySQL link identifier on success, or an error + message on failure. mysql_connect establishes a connection to a @@ -185,9 +185,13 @@ Support for the ":/path/to/socket" was added in PHP 3.0.10. + + You can suppress the error message on failure by prepending '@' + to the function name. + - + In case a second call is made to mysql_connect with the same arguments, no new link will be established, but instead, the link identifier of