你应该可以进入已安装MySQL的盒子,并做: –
debconf-get-selections | grep "^MysqL-server" >MysqL-server-sel.txt
然后将其复制到目标框,然后运行: –
debconf-set-selections MysqL-server-sel.txt apt-get install MysqL-server