MysqlDump: comments stripped from dumps (Doc ID 2157059.1)

Last updated on JULY 11, 2016

Applies to:

MySQL Server - Version 5.6 and later
Information in this document applies to any platform.

Goal

Describe how to maintain the comment while performing a mysqldump,

for example if in some functions,  there are comment (starts with "#" char)

if the command below is used:


The comments are removed. 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms