mysql 复制数据库 2019-04-24 本文已影响0人 Sunnky 不多说,直接上代码,shell里面执行: mysqldump -u root --password=PWD <origin_db> | mysql -u root -p <new_db>