mysql - mysqldump disable output of /* ... */ lines -
the mysqldump tool inserts mysql specific commands dump (/.../). know do. don't want them anyway in dumps. there parameter can specified dump db contents without lines? , without altering file afterwards (or pipelining) tool or whatever.
i tried related parameters (yes, including --compact) in 5.5.19 lines still in output. if mysql guys didn't added documented parameter skip lines, ok. couldn't find definite answer until now.
well, short answer is: no, can't. sorry.
obviously can change fprintf's in document , recompile: https://github.com/mariadb/server/blob/10.1/client/mysqldump.c
another option --xml . remove comments dislike, mysqldump not dumping sql anymore.
Comments
Post a Comment