You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I Dockerized my existing project which is created with laravel new <name> which is installed with compose require laravel/installer.
Then at parent folder of my project i git clone laradock and configured nginx/sites/default.conf and copied env-example into .env and configured the paths.
Then i run docker-compose up -d nginx mysql phpmyadmin command and it installed and everything is fine.
Then i run docker-compose exec workspace bash command and run php artisan migrate and it gave me this error:
SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = deneme and table_name = migrations and table_type = 'BASE TABLE')
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:678
674▕ // If an exception occurs when attempting to run a query, we'll format the error
675▕ // message to include the bindings with SQL, which will make this exception a
676▕ // lot more helpful to the developer instead of just the database's errors.
677▕ catch (Exception $e) {
➜ 678▕ throw new QueryException(
679▕ $query, $this->prepareBindings($bindings), $e
680▕ );
681▕ }
682▕
+33 vendor frames
34 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Expected Behavior:
I want my migrations to be created.
Context information:
Output of git rev-parse HEAD
{e2d2e9db9ee0a71c48841862e4cee2ea545bdd3a}
Output of docker version
{Docker version 20.10.2, build 2291f61}
Output of docker-compose version
{Docker version 20.10.2, build 2291f61}
{docker-compose version 1.27.4, build 40524192}
System info: Mac, Windows or Linux. Include which disto/version
{Windows 10 Pro Version 1909 Downloaded at 05.10.2019 OS compilition 18363.1316}
Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
Description:
I Dockerized my existing project which is created with
laravel new <name>
which is installed withcompose require laravel/installer
.Then at parent folder of my project i
git clone
laradock and configured nginx/sites/default.conf and copied env-example into .env and configured the paths.Then i run
docker-compose up -d nginx mysql phpmyadmin
command and it installed and everything is fine.Then i run
docker-compose exec workspace bash
command and runphp artisan migrate
and it gave me this error:Expected Behavior:
I want my migrations to be created.
Context information:
Output of
git rev-parse HEAD
Output of
docker version
Output of
docker-compose version
System info: Mac, Windows or Linux. Include which disto/version
Steps to reproduce the issue:
Stacktrace & Additional info:
https://flareapp.io/share/x7XNn0Ym#F46
The text was updated successfully, but these errors were encountered: