I’m following the guide, but when trying to use php composer.phar install --no-dev I’m getting an error
Generating autoload files
php artisan clear-compiled
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command “clear-compiled” is not defined.
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
[RuntimeException]
Error Output:
Any idea’s?
Ok, actually found a fix for it…
in htdocs use the following command: rm -Rf bootstrap/cache/*
@mrjohny thanks. Let me know how that goes I’ve heard the upgrade 2.0.1 to 2.1.x presents some challenges.
Alhthough now i’m stuck with the next step…
php artisan migrate --seed
Error:
SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
When starting mysql it says.
mysql started at port 3306 ; so it’s running…
No idea what could be the issue…
In the end it was fixed by some of the engineers here, not sure what exactly was done, but it was a bit of a challenge
1 Like
If you ever get an error with MySQL indicating it can’t connect through socket, try changing the connection to be 127.0.0.1 rather than localhost.