|
-c, --comments Preserve comments. Send comments to the server. The
default is --skip-comments (discard comments), enable
with --comments.
mysql -u root --password=xxx --comment < test.sql
加上 --comment选项.
详见:
--comments, -i
Write additional information in the dump file such as program version, server version, and host. This option is enabled by default. To suppress this additional information, use --skip-comments.
|
|