Skip to content
New issue

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

php spark migrate -g does not work #2832

Closed
janiscp opened this issue Apr 16, 2020 · 4 comments
Closed

php spark migrate -g does not work #2832

janiscp opened this issue Apr 16, 2020 · 4 comments

Comments

@janiscp
Copy link

janiscp commented Apr 16, 2020

I have 2 db_group: default and other_db

php spark migrate -g other_db gives me an error
image

I expect to run this migrations to this database connection, is this correct?

@michalsn
Copy link
Member

Please check your database credentials one more time.

Also, bear in mind that you need to set correct credentials to default database too since it's a place where migration history is stored.

I just checked this a moment ago. The default connection is set to MySQL and another to PostgreSQL and all is working fine.

If you will still experiencing this problem, please add some more information, ie: your db config and migrations.

@lonnieezell
Copy link
Member

@janiscp any update?

@jlamim
Copy link
Contributor

jlamim commented Apr 21, 2020

I did a test here using version 4.0.2 and it worked correctly. It is probably a problem with the information regarding the connection to the database.

image

@janiscp
Copy link
Author

janiscp commented Apr 22, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants