MySQL Resource Grants in Workshop #100
-
Repo: https://github.com/nprimmer/blueprint-go-gin I have a MySQL Resource declared as part of my template, and when creating a new version of the application in Workshop, my application gives the following errors:
This MySQL resource is declared as follows:
The DSN components are passed to the application as environment variables as such:
The resulting values are: I've validated that the application will run against a locally configured MySQL server, and the identical commit will also run in Noop Cloud without issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @nprimmer 👋 We were able to get a version of your Go Template application working in Noop Desktop by providing an explicit reference to the MySQL resource's port value. Link to the needed code adjustments. Providing an explicit port value is required within Noop Desktop due to usage of non-standard port values for MySQL connections. When you have a chance try out these changes on your end, and let us know how it goes 🤞 |
Beta Was this translation helpful? Give feedback.
Hey @nprimmer 👋
We were able to get a version of your Go Template application working in Noop Desktop by providing an explicit reference to the MySQL resource's port value. Link to the needed code adjustments. Providing an explicit port value is required within Noop Desktop due to usage of non-standard port values for MySQL connections.
When you have a chance try out these changes on your end, and let us know how it goes 🤞