We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm having trouble running migrations. (I'm trying with the latest v2.0.0)
when I run
vendor/bin/phalcon-migrations list --config=migrations.php
becomes this.
Fatal Error: SQLSTATE[HY000] [2002] No such file or directory
The file .env.example says DB_HOST=localhost and docker-compose.yml looks like this.
.env.example
DB_HOST=localhost
docker-compose.yml
mysql: container_name: invo-mysql hostname: invo-mysql
Thinking that this is an error that occurs because the host name is different like this, I rewrote .env to DB_HOST=invo-mysql and executed
.env
DB_HOST=invo-mysql
Phalcon Migrations ┌──────────────────┬───────────────┐ │ Version │ Was applied │ ├──────────────────┼───────────────┤ │ 1.0.0 │ N │ └──────────────────┴───────────────┘
It will be displayed.
Again, I think DB_HOST=localhost in .env is incorrect. Does it have to be localhost for automatic execution of .github/workflows/main.yml?
localhost
The text was updated successfully, but these errors were encountered:
I added a clarification in the .env.example file.
Thank you @s-ohnishi
59acba7
Sorry, something went wrong.
niden
No branches or pull requests
I'm having trouble running migrations.
(I'm trying with the latest v2.0.0)
when I run
becomes this.
The file
.env.example
saysDB_HOST=localhost
anddocker-compose.yml
looks like this.Thinking that this is an error that occurs because the host name is different like this, I rewrote
.env
toDB_HOST=invo-mysql
and executedIt will be displayed.
Again, I think
DB_HOST=localhost
in.env
is incorrect.Does it have to be
localhost
for automatic execution of .github/workflows/main.yml?The text was updated successfully, but these errors were encountered: