Home > Blockchain >  How to clone db in adminer
How to clone db in adminer

Time:06-28

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?

CodePudding user response:

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.

CodePudding user response:

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

  • Related