diff --git a/reference/mysql/functions/mysql-connect.xml b/reference/mysql/functions/mysql-connect.xml index 21228c17c0..9aaf7d031a 100644 --- a/reference/mysql/functions/mysql-connect.xml +++ b/reference/mysql/functions/mysql-connect.xml @@ -1,5 +1,5 @@ - + mysql_connect @@ -36,7 +36,8 @@ If the PHP directive mysql.default_host is undefined (default), then the default - value is 'localhost:3306' + value is 'localhost:3306'. In &sqlsafemode;, this parameter is ignored + and value 'localhost:3306' is always used. @@ -44,8 +45,10 @@ username - The username. Default value is the name of the user that owns the - server process. + The username. Default value is defined by mysql.default_user. In + &sqlsafemode;, this parameter is ignored and the name of the user that + owns the server process is used. @@ -53,7 +56,9 @@ password - The password. Default value is an empty password. + The password. Default value is defined by mysql.default_password. In + &sqlsafemode;, this parameter is ignored and empty password is used. @@ -68,6 +73,7 @@ behavior and makes mysql_connect always open a new link, even if mysql_connect was called before with the same parameters. + In &sqlsafemode;, this parameter is ignored. @@ -82,6 +88,7 @@ MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. Read the section about for further information. + In &sqlsafemode;, this parameter is ignored.