@node Communication errors, Full table, Packet too large, Common errors
@node Communication errors, Full table, Packet too large, Common errors
@subsection Communication Errors / Aborted Connection
@subsection Communication Errors / Aborted Connection
Starting with @code{MySQL 3.23.40} you only get the @code{Aborted
connection} error of you start @code{mysqld} with @code{--warnings}.
If you find errors like the following in your error log.
If you find errors like the following in your error log.
@example
@example
...
@@ -38769,6 +38821,8 @@ shell> perror 23
...
@@ -38769,6 +38821,8 @@ shell> perror 23
File table overflow
File table overflow
shell> perror 24
shell> perror 24
Too many open files
Too many open files
shell> perror 11
Resource temporarily unavailable
@end example
@end example
The problem here is that @code{mysqld} is trying to keep open too many
The problem here is that @code{mysqld} is trying to keep open too many
...
@@ -39286,8 +39340,8 @@ database directory. The @code{FLUSH TABLE} is needed to ensure that
...
@@ -39286,8 +39340,8 @@ database directory. The @code{FLUSH TABLE} is needed to ensure that
the all active index pages is written to disk before you start the backup.
the all active index pages is written to disk before you start the backup.
If you want to make a SQL level backup of a table, you can use
If you want to make a SQL level backup of a table, you can use
@code{SELECT INTO OUTFILE} or @code{BACKUP
@code{SELECT INTO OUTFILE} or @code{BACKUP TABLE}. @xref{SELECT}.
TABLE}. @xref{SELECT}. @xref{BACKUP TABLE}.
@xref{BACKUP TABLE}.
Another way to back up a database is to use the @code{mysqldump} program or
Another way to back up a database is to use the @code{mysqldump} program or
the @code{mysqlhotcopy script}. @xref{mysqldump, , @code{mysqldump}}.
the @code{mysqlhotcopy script}. @xref{mysqldump, , @code{mysqldump}}.
...
@@ -41816,7 +41870,7 @@ specified explicitly.
...
@@ -41816,7 +41870,7 @@ specified explicitly.
@item
@item
The @code{passwd} parameter contains the password for @code{user}. If
The @code{passwd} parameter contains the password for @code{user}. If
@code{passwd} is @code{NULL}, only entries in the @code{user} table for the
@code{passwd} is @code{NULL}, only entries in the @code{user} table for the
user that have a blank password field will be checked for a match. This
user that have a blank (empty) password field will be checked for a match. This
allows the database administrator to set up the @strong{MySQL} privilege
allows the database administrator to set up the @strong{MySQL} privilege
system in such a way that users get different privileges depending on whether
system in such a way that users get different privileges depending on whether
or not they have specified a password.
or not they have specified a password.
...
@@ -41849,7 +41903,7 @@ of the following flags in very special circumstances:
...
@@ -41849,7 +41903,7 @@ of the following flags in very special circumstances:
@code{mysqld} to be more ODBC-friendly.
@code{mysqld} to be more ODBC-friendly.
@item @code{CLIENT_COMPRESS} @tab Use compression protocol.
@item @code{CLIENT_COMPRESS} @tab Use compression protocol.
@item @code{CLIENT_FOUND_ROWS} @tab Return the number of found (matched) rows, not the number of affected rows.
@item @code{CLIENT_FOUND_ROWS} @tab Return the number of found (matched) rows, not the number of affected rows.
@item @code{CLIENT_IGNORE_SPACE} $tab Allow spaces after function names. Makes all functions names reserved words.
@item @code{CLIENT_IGNORE_SPACE} @tab Allow spaces after function names. Makes all functions names reserved words.
@item @code{CLIENT_INTERACTIVE} @tab Allow @code{interactive_timeout} seconds (instead of @code{wait_timeout} seconds) of inactivity before closing the connection.
@item @code{CLIENT_INTERACTIVE} @tab Allow @code{interactive_timeout} seconds (instead of @code{wait_timeout} seconds) of inactivity before closing the connection.
@item @code{CLIENT_NO_SCHEMA} @tab Don't allow the @code{db_name.tbl_name.col_name} syntax. This is for ODBC. It causes the parser to generate an error if you use that syntax, which is useful for trapping bugs in some ODBC programs.
@item @code{CLIENT_NO_SCHEMA} @tab Don't allow the @code{db_name.tbl_name.col_name} syntax. This is for ODBC. It causes the parser to generate an error if you use that syntax, which is useful for trapping bugs in some ODBC programs.
@item @code{CLIENT_ODBC} @tab The client is an ODBC client. This changes
@item @code{CLIENT_ODBC} @tab The client is an ODBC client. This changes