Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dcdamianchase's avatar

Cannot Deploy the project - Error

Hi I'm getting an error when I try to deploy my project with Laravel Forge.

I have followed the tutorials but I'm still getting the error message.

Error Output

From github.com:Example/Example

  • branch master -> FETCH_HEAD Already up-to-date. Loading composer repositories with package information Installing dependencies from lock file Nothing to install or update Generating autoload files

php artisan clear-compiled php artisan optimize Generating optimized class loader Compiling common classes

[PDOException]
SQLSTATE[HY000] [2002] No such file or directory

In addition I can succesfully SSH into my server directly with the terminal

0 likes
2 replies

Please or to participate in this conversation.