Clarified mysqldump -T option (noted by James Green).

parent cfe6e0b9
...@@ -22662,9 +22662,12 @@ Overrides option --databases (-B). ...@@ -22662,9 +22662,12 @@ Overrides option --databases (-B).
@item -T, --tab=path-to-some-directory @item -T, --tab=path-to-some-directory
Creates a @code{table_name.sql} file, that contains the SQL CREATE commands, Creates a @code{table_name.sql} file, that contains the SQL CREATE commands,
and a @code{table_name.txt} file, that contains the data, for each give table. and a @code{table_name.txt} file, that contains the data, for each give table.
@strong{Note}: This only works if @code{mysqldump} is run on the same The format of the @file{.txt} file is made according to the
machine as the @code{mysqld} daemon. The format of the @file{.txt} file @code{--fields-xxx} and @code{--lines--xxx} options.
is made according to the @code{--fields-xxx} and @code{--lines--xxx} options. @strong{Note}: This option only works if @code{mysqldump} is run on the same
machine as the @code{mysqld} daemon, and the user/group that @code{mysqld}
is running as (normally user @code{mysql}, group @code{mysql}) needs to have
permission to create/write a file at the location you specify.
@item -u user_name, --user=user_name @item -u user_name, --user=user_name
The MySQL user name to use when connecting to the server. The The MySQL user name to use when connecting to the server. The
default value is your Unix login name. default value is your Unix login name.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment