Oracle 5.0 Reference Manual page 331

Table of Contents

Advertisement

Ignore errors. For example, if a table for a text file does not exist, continue processing any remaining
files. Without
--force
--host=host_name
Import data to the MySQL server on the given host. The default host is localhost.
[311],
--ignore
-i
See the description for the
--ignore-lines=N
Ignore the first
lines of the data file.
N
--lines-terminated-by=...
This option has the same meaning as the corresponding clause for
example, to import Windows files that have lines terminated with carriage return/linefeed pairs,
use
--lines-terminated-by="\r\n"
depending on the escaping conventions of your command interpreter.) See
Syntax".
DATA INFILE
[311],
--local
-L
Read input files locally from the client host.
[301],
--lock-tables
Lock all tables for writing before processing any text files. This ensures that all tables are
synchronized on the server.
--low-priority
Use
LOW_PRIORITY
level locking (such as MyISAM, MEMORY, and MERGE).
--password[=password]
The password to use when connecting to the server. If you use the short option form (-p), you
cannot have a space between the option and the password. If you omit the
following the
--password
one.
Specifying a password on the command line should be considered insecure. See
"End-User Guidelines for Password
password on the command line.
[311],
--pipe
-W
On Windows, connect to the server using a named pipe. This option applies only if the server
supports named-pipe connections.
--port=port_num
The TCP/IP port number to use for the connection.
--protocol={TCP|SOCKET|PIPE|MEMORY}
The connection protocol to use for connecting to the server. It is useful when the other connection
parameters normally would cause a protocol to be used other than the one you want. For details on
the permissible values, see
— A Data Import Program
mysqlimport
[310],
mysqlimport
[311],
-h host_name
[312]
--replace
[311]
[311]
[311]. (You might have to double the backslashes,
-l
[311]
when loading the table. This affects only storage engines that use only table-
[311],
-p[password]
[311]
or
option on the command line,
-p
Security". You can use an option file to avoid giving the
[311],
-P port_num
Section 4.2.2, "Connecting to the MySQL
311
exits if a table does not exist.
option.
LOAD DATA
[311]
INFILE. For
Section 13.2.6,
value
password
prompts for
mysqlimport
Section 6.1.2.1,
Server".
"LOAD

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents