修改 export.php
sudo vim /usr/share/phpmyadmin/export.php
$do_comments 的值为 true,并注释掉等号后面的代码,比如
$do_comments = true;//isset($GLOBALS[$what . '_include_comments'])
//|| isset($GLOBALS[$what . '_comments']) ;
重启 apache2
sudo service apache2 restart