D
D
Denwebart2015-07-30 00:49:36
Laravel
Denwebart, 2015-07-30 00:49:36

How to dump mysql database on button click Laravel 4.2?

I 'm using Laravel 4.2.17
How can I make it so that by clicking on the "Dump DB" button, the database is dumped and prompted to save it to the computer?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D', 2015-07-30
@Denormalization

Make a command that will call mysqldump with parameters, and call it via Artisan::call()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question