Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2025 by sonnguyen
03 Nov 2015, 07:06
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?

Code: Select allRM-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 
#2026 by aimeos
03 Nov 2015, 08:57
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.