artisan aimeos:setup fails: cannot insert multiple commands

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Saoshyant
Posts: 1
Joined: 22 Feb 2018, 19:54

artisan aimeos:setup fails: cannot insert multiple commands

Post by Saoshyant » 22 Feb 2018, 19:58

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

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

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

Post by aimeos » 23 Feb 2018, 00:00

Which MySQL version are you using?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply