Clone MySQL database

前端 未结 7 790
攒了一身酷
攒了一身酷 2020-12-12 13:37

I have database on a server with 120 tables.

I want to clone the whole database with a new db name and the copied data.

Is there an efficient way to do this?

7条回答
  •  -上瘾入骨i
    2020-12-12 14:11

    There is mysqldbcopy tool from the MySQL Utilities package. http://dev.mysql.com/doc/mysql-utilities/1.3/en/mysqldbcopy.html

提交回复
热议问题