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

Can we have some clarifications in the doc regarding some MySQL DSN options #586

Open
callaingit opened this issue Aug 22, 2023 · 0 comments

Comments

@callaingit
Copy link

The goose doc says multiStatements shall be turned on, but in the section that describes the goose status command (same for parseTime flag).

Are these requirements really just for the goose status command or not? Also, I did not have the multiStatements setting so far in my DSNs and did not had an issue so far as far as I can tell, and what kind of issue can arise if we don't have this setting and why it is required?

See https://github.com/pressly/goose#status and https://github.com/go-sql-driver/mysql#multistatements

Also, there is a DSN option named autocommit, does it really have an impact or not the way goose works (my understanding is that it has no impact as goose controls the transactions expliclty)?

Thanks in advance.

@callaingit callaingit changed the title Can we have some clarifications in the doc regarding some MySQL DSNs Can we have some clarifications in the doc regarding some MySQL DSN options Aug 22, 2023
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

1 participant