Adding database name env. variable for a new database#4
Open
laeeq80 wants to merge 1 commit intolindycoder:masterfrom
Open
Adding database name env. variable for a new database#4laeeq80 wants to merge 1 commit intolindycoder:masterfrom
laeeq80 wants to merge 1 commit intolindycoder:masterfrom
Conversation
Owner
|
Hi @laeeq80 , thanks for your interest. I saw your issue and yeah in my example, i create the database in the setup.sql.
If i had more script to add, personnally i would put a You can use the MYSQL_DATABASE in your setup, but it should be a database name, in this PR you put the name of the setup sql file which doesn't really makes sense to me. |
Author
|
Got it, My case worked because my database name and sql file were same. you can change it to myexample rather than setup if you want. |
|
You could add |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
I tested your example and it was working fine but then when I changed the database, it was giving error of
Then I solved it by adding the env variable for the database.
--Laeeq