Laravel/Artisan error upon insert trigger
Posted by: Per Frennbro
Date: October 08, 2019 05:56AM

We have installed UDF My SQL triggers and it works when we execute it one time.

We have 9 connectors to different systems that collects thousands of records.

We have now discovered it is something with the ARTISAN in Laravel we are using that is not running

|--------------------------------------------------------------------------
| Run The Artisan Application
|--------------------------------------------------------------------------
|
| When we run the console application, the current CLI command will be
| executed in this console and the response sent back to a terminal
| or another output device for the developers. Here goes nothing!
|
*/

$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);

$status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArgvInput,
new Symfony\Component\Console\Output\ConsoleOutput
);


Then when we try to execute the second connector by doing exactly the same record insert trigger then it does not execute.
We then truncate the DB and then run the first insert trigger again by adding a record. Then the first connector is not running.

This is a problem we do not know how to solve.

"php": ">=5.6.4",
"laravel/framework": "5.4.*",
"laravel/tinker": "~1.0"

We can unfortunately not change the PHP version.

Options: ReplyQuote


Subject
Views
Written By
Posted
Laravel/Artisan error upon insert trigger
1456
October 08, 2019 05:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.