Page 1 of 1

artisan aimeos:setup fails: cannot insert multiple commands

Posted: 22 Feb 2018, 19:58
by Saoshyant

Code: Select all

C:\xampp\htdocs\store>php artisan aimeos:setup

   Aimeos\MW\DB\Exception  : An exception occurred while executing 'SET SESSION sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI
'':

SQLSTATE[42601]: Syntax error: 7 ERROR:  cannot insert multiple commands into a prepared statement

  at C:\xampp\htdocs\store\vendor\aimeos\aimeos-core\lib\mwlib\src\MW\DB\Manager\DBAL.php: 99
  95:                   return array_pop( $this->connections[$name] );
  96:
  97:           }
  98:           catch( \Exception $e ) {
  99:                   throw new \Aimeos\MW\DB\Exception( $e->getMessage(), $e->getCode() );
  100:          }
  101:  }
  102:
  103:
  104:  /**

  Exception trace:

  1   Aimeos\MW\DB\Manager\DBAL::acquire("db")
      C:\xampp\htdocs\store\vendor\aimeos\aimeos-core\lib\mwlib\src\MW\Setup\Manager\Multiple.php : 66

  2   Aimeos\MW\Setup\Manager\Multiple::__construct(Object(Aimeos\MW\DB\Manager\DBAL), [], Object(Aimeos\MShop\Context\Item\Standard))
      C:\xampp\htdocs\store\vendor\aimeos\aimeos-laravel\src\Aimeos\Shop\Command\SetupCommand.php : 64

  Please use the argument -v to see more details.
What's this about?

Currently testing on a Windows machine with the latest Laravel and Aimeos versions, PHP at version 7.1

Re: artisan aimeos:setup fails: cannot insert multiple comma

Posted: 23 Feb 2018, 00:00
by aimeos
Which MySQL version are you using?