Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Conversation

@lieutdan13
Copy link
Contributor

Added this option so that a database can be initiated all in one call. After all, the parameters are very similar and would need to be duplicated in 2 different calls.

@lieutdan13
Copy link
Contributor Author

Alessandro, I wasn't sure about the name of the parameter, would it make sense to call it "mysql_schema_file" or something a little shorter than the one I came up with?

@alvagante
Copy link
Member

The name is ok, but I just realized that such an option is already there: mysql_create_db

@alvagante
Copy link
Member

but maybe you want a custom sql file to populate it ...

@alvagante
Copy link
Member

Few lines of docs and usage samples would be welcomed :-)

@lieutdan13
Copy link
Contributor Author

But that only creates the database. I'm looking for a solution to create the tables as well. I suppose I can do a workaround and include the schema in mysql_db_create_options.

@lieutdan13
Copy link
Contributor Author

Oh okay. I will add documentation :-)

alvagante added a commit that referenced this pull request Aug 14, 2013
Adding mysql_db_init_query_file in mysql::grant
@alvagante alvagante merged commit af11e64 into example42:master Aug 14, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants