简体   繁体   中英

How to clone db in adminer

How to clone db in adminer? right now there is no way to copy an existing db to any new db or any existing db to existing db

now if we copy tables from one db to another then there is no way to select functions and stored procedures.

so is there any solution for it?

I believe the easiest way (using adminer), is using the "Export" button.

Make sure you select "Routines" and "Events" to also export your triggers and stored procedures.

After exporting, you might have to create a new database as you wish and then use the Import function, select the file you have exported, and execute.

If your export dump file is bigger than 128MB, I recommend using mysqldump .

KT,

you can easily export a .sql dump of your database in adminer.

export database

Now, you just have to import your dump and you should be good to go!

import database

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM