-
Notifications
You must be signed in to change notification settings - Fork 172
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
Unable to connect to MariaDb/MySQL #319
Comments
If anyone has got roapi working with MySql/MariaDb, any help is much appreciated. |
@accforgithubtest the official image is not built with mysql feature enabled, you will need to build your own binary with the |
@houqp - thanks for your reply ! Any chances you can add some doco on how to get a new docker image built with mysql enabled ? |
You can try add the database-mysql flag in Line 3 in c2a3268
|
thanks @houqp ! will give that a try. For my information - is there a reason why mysql is not enabled by default ? Is there a performance penalty ? or higher system requirements, etc ? |
The only reason was we haven't had the time to make it work automatically with our current build and release pipeline. There shouldn't be any performance overhead. |
Hello there, and thank your for this interesting project!
I am looking to try out using roapi, with mariadb and getting the error below in logs.
Installation / setup is using docker compose (not swarm), on a ubuntu host machine on which mariadb is also running.
I have other applications running in my self hosted set up, and the database is working fine with the other applications with the same connection string.
Below are my docker-compose.yaml, roapi.yml and the logs I see.
Any help is greatly appreciated. TIA.
The text was updated successfully, but these errors were encountered: