1

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?

enter image description here

in adminer we have the above feature to copy tables to another db but no option to select events and functions

Er.KT
  • 2,852
  • 1
  • 36
  • 70

2 Answers2

1

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.

leonardomdr
  • 169
  • 6
1

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

Ruffyg
  • 47
  • 1
  • 8