[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml mysql-pconnect.xml
vrana Thu Jun 7 14:40:13 2007 UTC Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml mysql-pconnect.xml Log: LOAD DATA LOCAL client flag http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.20&r2=1.21&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.20 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.21 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.20 Wed Oct 11 10:04:41 2006 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Thu Jun 7 14:40:13 2007 @@ -1,5 +1,5 @@ - + mysql_connect @@ -83,6 +83,7 @@ The client_flags parameter can be a combination of the following constants: + 128 (enable LOAD DATA LOCAL handling), MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-pconnect.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-pconnect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.11 phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.12 --- phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.11 Thu Dec 1 10:05:52 2005 +++ phpdoc/en/reference/mysql/functions/mysql-pconnect.xml Thu Jun 7 14:40:13 2007 @@ -1,5 +1,5 @@ - + mysql_pconnect @@ -92,6 +92,7 @@ The client_flags parameter can be a combination of the following constants: + 128 (enable LOAD DATA LOCAL handling), MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml
vrana Wed Oct 11 10:04:41 2006 UTC Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml Log: SQL safe mode http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.19 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.20 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.19 Thu Dec 1 10:05:52 2005 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Wed Oct 11 10:04:41 2006 @@ -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.
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml mysql-pconnect.xml
vrana Thu Dec 1 05:05:55 2005 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml mysql-pconnect.xml Log: MYSQL_CLIENT_SSL http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.18&r2=1.19&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.18 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.19 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.18 Mon Oct 3 11:31:51 2005 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Thu Dec 1 05:05:52 2005 @@ -1,5 +1,5 @@ - + mysql_connect @@ -77,6 +77,7 @@ The client_flags parameter can be a combination of the following constants: + MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-pconnect.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-pconnect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.10 phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.11 --- phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.10 Wed Jun 22 06:39:09 2005 +++ phpdoc/en/reference/mysql/functions/mysql-pconnect.xml Thu Dec 1 05:05:52 2005 @@ -1,5 +1,5 @@ - + mysql_pconnect @@ -92,6 +92,7 @@ The client_flags parameter can be a combination of the following constants: + MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE.
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml
jsgoupilMon Oct 3 11:31:53 2005 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml Log: add space between words + remove space in linkend http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.17&r2=1.18&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.17 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.18 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.17 Mon Oct 3 06:37:09 2005 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Mon Oct 3 11:31:51 2005 @@ -1,5 +1,5 @@ - + mysql_connect @@ -159,7 +159,7 @@ -mysql_connectexample using hostname:port syntax +mysql_connect example using hostname:port syntax
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml
betzMon Oct 3 06:37:10 2005 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml Log: more examples for connecting with different syntax, link to client flags table, link to ini-setting http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.16&r2=1.17&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.16 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.17 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.16 Mon Jun 20 23:05:09 2005 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Mon Oct 3 06:37:09 2005 @@ -1,5 +1,5 @@ - + mysql_connect @@ -80,6 +80,7 @@ MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. + Read the section about for further information. @@ -156,6 +157,61 @@ + + +mysql_connectexample using hostname:port syntax + + + + + + + +mysql_connectexample using ":/path/to/socket" syntax + + + + + @@ -168,7 +224,7 @@ Windows). If you want to use TCP/IP, use "127.0.0.1" instead of "localhost". If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as -mysql.default_host in your PHP configuration and leave the server field + in your PHP configuration and leave the server field blank.
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml
jsgoupilMon Jun 20 23:05:12 2005 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml Log: suppress similar sentences http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.15&r2=1.16&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.15 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.16 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.15 Thu Mar 31 02:47:25 2005 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Mon Jun 20 23:05:09 2005 @@ -1,5 +1,5 @@ - + mysql_connect @@ -17,9 +17,7 @@ intclient_flags - Opens or reuses a connection to a MySQL server. The link to the server will - be closed as soon as the execution of the script ends, unless it's closed - earlier by explicitly calling mysql_close. + Opens or reuses a connection to a MySQL server.
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml
philip Wed Mar 30 20:28:41 2005 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml Log: WS, preparation for the new doc style http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.13 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.14 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.13 Tue Sep 28 11:33:55 2004 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Wed Mar 30 20:28:41 2005 @@ -1,99 +1,93 @@ - + - - -mysql_connect -Open a connection to a MySQL Server - - -Description - - resourcemysql_connect - stringserver - stringusername - string -password - - bool -new_link - - int -client_flags - - - - Returns a MySQL link identifier on success, or &false; on failure. - - - mysql_connect establishes a connection - to a MySQL server. The following defaults are assumed for - missing optional parameters: server = - 'localhost:3306', username = name of the - user that owns the server process and - password = empty password. - - - The server parameter can also include a port - number. e.g. "hostname:port" or a path to a local socket - e.g. ":/path/to/socket" for the localhost. - - - Whenever you specify "localhost" or - "localhost:port" as server, the MySQL client library will - override this and try to connect to a local socket (named pipe on - Windows). If you want to use TCP/IP, use "127.0.0.1" - instead of "localhost". If the MySQL client library tries to - connect to the wrong local socket, you should set the correct path as - mysql.default_host in your PHP configuration and leave the server field - blank. - - - Support for ":port" was added in PHP 3.0B4. - - - Support for ":/path/to/socket" was added in - PHP 3.0.10. - - - You can suppress the error message on failure by prepending - a @ - to the function name. - - - - - If a second call is made to mysql_connect - with the same arguments, no new link will be established, but - instead, the link identifier of the already opened link will be - returned. The new_link parameter modifies this - behavior and makes mysql_connect always open - a new link, even if mysql_connect was called - before with the same parameters. The client_flags - parameter can be a combination of the constants - MYSQL_CLIENT_COMPRESS, - MYSQL_CLIENT_IGNORE_SPACE or - MYSQL_CLIENT_INTERACTIVE. - - - - The new_link parameter became available - in PHP 4.2.0 - - - The client_flags parameter became available in - PHP 4.3.0 - - - - The link to the server will be closed as soon as the execution of - the script ends, unless it's closed earlier by explicitly calling - mysql_close. - - - - mysql_connect example - + + + mysql_connect + Open a connection to a MySQL Server + + + Description + + resourcemysql_connect + stringserver + stringusername + stringpassword + boolnew_link + intclient_flags + + + Returns a MySQL link identifier on success, or &false; on failure. + + + mysql_connect establishes a connection + to a MySQL server. The following defaults are assumed for + missing optional parameters: server = + 'localhost:3306', username = name of the + user that owns the server process and + password = empty password. + + + The server parameter can also include a port + number. e.g. "hostname:port" or a path to a local socket + e.g. ":/path/to/socket" for the localhost. + + + Whenever you specify "localhost" or + "localhost:port" as server, the MySQL client library will + override this and try to connect to a local socket (named pipe on + Windows). If you want to use TCP/IP, use "127.0.0.1" + instead of "localhost". If the MySQL client library tries to + connect to the wrong local socket, you should set the correct path as + mysql.default_host in your PHP configuration and leave the server field + blank. + + + Support for ":port" was added in PHP 3.0B4. + + + Support for ":/path/to/socket" was added in + PHP 3.0.10. + + + You can suppress the error message on failure by prepending + a @ + to the function name. + + + + + If a second call is made to mysql_connect + with the same arguments, no new link will be established, but + instead, the link identifier of the already opened link will be + returned. The new_l
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml
sas Thu Feb 20 06:20:35 2003 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml Log: Add note about bad special case in the mysql client lib which is quite irretating. Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.5 Fri Jan 31 12:11:54 2003 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Thu Feb 20 06:20:34 +2003 @@ -1,5 +1,5 @@ - + @@ -39,9 +39,19 @@ The server parameter can also include a port - number. eg. "hostname:port" or a path to a socket + number. eg. "hostname:port" or a path to a local socket eg. ":/path/to/socket" for the localhost. + + Whenever you specify "localhost" or + "localhost:port" as server, the MySQL client library will + override this and try to connect to a local socket (named pipe on + Windows). If you want to use TCP/IP, use "127.0.0.1" + instead of "localhost". If the MySQL client library tries to + connect to the wrong local socket, you should set the correct path as + mysql.default_host in your PHP configuration and leave the server field + blank. + Support for ":port" was added in PHP 3.0B4. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml mysql-pconnect.xml
georg Fri Jan 31 12:11:54 2003 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml mysql-pconnect.xml Log: fixed bug #21981 (removed SSL constant) Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.4 Sun Dec 1 21:09:30 2002 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Fri Jan 31 12:11:54 +2003 @@ -1,5 +1,5 @@ - + @@ -64,8 +64,9 @@ behavior and makes mysql_connect always open a new link, even if mysql_connect was called before with the same parameters. The client_flags - parameter can be a combination of the constants MYSQL_CLIENT_SSL, - MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. + parameter can be a combination of the constants + MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or + MYSQL_CLIENT_INTERACTIVE. Index: phpdoc/en/reference/mysql/functions/mysql-pconnect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.3 Wed Jul 10 11:34:25 2002 +++ phpdoc/en/reference/mysql/functions/mysql-pconnect.xml Fri Jan 31 12:11:54 +2003 @@ -1,5 +1,5 @@ - + @@ -31,8 +31,9 @@ user that owns the server process and password = empty password. The client_flags - parameter can be a combination of the constants MYSQL_CLIENT_SSL, - MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. + parameter can be a combination of the constants + MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or + MYSQL_CLIENT_INTERACTIVE. The server parameter can also include a port -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml
pollita Sun Dec 1 21:09:30 2002 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml Log: Added usage of mysql_error() in example. Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.3 Wed Jul 10 11:34:01 2002 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Sun Dec 1 21:09:30 +2002 @@ -1,5 +1,5 @@ - + @@ -88,7 +88,7 @@
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml
georg Wed Jul 10 11:34:02 2002 EDT Modified files: /phpdoc/en/reference/mysql/functionsmysql-connect.xml Log: documented new optional parameter client_flags Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.2 Wed Apr 17 02:41:05 2002 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Wed Jul 10 11:34:01 +2002 @@ -1,5 +1,5 @@ - + @@ -22,6 +22,9 @@ bool new_link + int +client_flags + Returns a MySQL link identifier on success, or &false; on failure. @@ -60,12 +63,18 @@ returned. The new_link parameter modifies this behavior and makes mysql_connect always open a new link, even if mysql_connect was called - before with the same parameters. + before with the same parameters. The client_flags + parameter can be a combination of the constants MYSQL_CLIENT_SSL, + MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. The new_link parameter became available in PHP 4.2.0 + + + The client_flags parameter became available in + PHP 4.3.0 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php