Can not install Aimeos-Laravel package in fresh Laravel 5.1
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!
Can not install Aimeos-Laravel package in fresh Laravel 5.1
Hi,
I have read guide at https://aimeos.org/docs/Laravel/Install_Aimeos and process step by step but get error in order install aimeos-laravel in fresh Laravel 5.1.
Can you help me clear my mistake?
I have read guide at https://aimeos.org/docs/Laravel/Install_Aimeos and process step by step but get error in order install aimeos-laravel in fresh Laravel 5.1.
Can you help me clear my mistake?
Code: Select all
RM-PROs-MacBook-Pro:aimeos1 rm-pro$ php artisan vendor:publish
Copied Directory [/vendor/aimeos/aimeos-laravel/src/database/migrations] To [/database/migrations]
Copied Directory [/vendor/aimeos/aimeos-laravel/src/views] To [/resources/views/vendor/shop]
Copied Directory [/vendor/aimeos/aimeos-laravel/public] To [/public/packages/aimeos/shop]
Publishing complete for tag []!
RM-PROs-MacBook-Pro:aimeos1 rm-pro$ php artisan migrate
Nothing to migrate.
RM-PROs-MacBook-Pro:aimeos1 rm-pro$ php artisan aimeos:setup --option=setup/default/demo:1
[MW_DB_Exception]
SQLSTATE[HY000] [2002] No such file or directory
Re: Can not install Aimeos-Laravel package in fresh Laravel
I think you've used "localhost" as host parameter which causes MySQL to try Unix domain sockets first. But it seems there's no socket in the standard location (usually /var/lib/mysql/mysql.sock). Please try "127.0.0.1" instead which enforces using TCP/IP.
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
Re: Can not install Aimeos-Laravel package in fresh Laravel
Thanks for quick reply and great tip. It worked!