I have the mysql service to an external mysql host as follow:
apc service create mysql_ticketily_production --namespace /ticketily/production --type generic -- --url "mysql2://[.....]"
The connection is fine (host, user, password) because I have the same uri as DATABASE_URL environment variable. But the log is showing this message when I restart the app:
[system] Failed to configure binding to service "service::/ticketily/production::mysql_ticketily_production"
I had to setup the DATABASE_URL because of the failure of binding service that didn't expose the MYSQL_URI or TCP_URI. When I deploy the app from the command line this connection error didn't happen.
The application is in Rails and I'm running the latest version of Apcera on Ubuntu 16.