artisan aimeos:setup fails: cannot insert multiple commands
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
artisan aimeos:setup fails: cannot insert multiple commands
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.
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
Which MySQL version are you using?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star