You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That package works fine in the terminal with this command php artisan db:back --database=mysql but when i try to execute via the controller code, it doesn't work and this is my code snipped-
Artisan::call('db:backup',['--database'=>'mysql']);//this is command
return Redirect::back()->with('success','Database backup was successful,
.SQL file was saved in dump folder.');
I also try with this code but doesn't work
Artisan::call('db:backup',['--database'=>'mysql']);
Artisan::call('db:backup');
Please, anyone, help me out exactly where is the problem?
The text was updated successfully, but these errors were encountered:
That package works fine in the terminal with this command php artisan db:back --database=mysql but when i try to execute via the controller code, it doesn't work and this is my code snipped-
I also try with this code but doesn't work
Artisan::call('db:backup',['--database'=>'mysql']);
Artisan::call('db:backup');
Please, anyone, help me out exactly where is the problem?
The text was updated successfully, but these errors were encountered: