I'm trying to connect to mysql db on clever cloud dev account. I'm able to query the db in my vapor app fine. However, I cannot run migrate to create tables. I get the following error:
[ ERROR ] Opening new connection for pool failed: NIOCore.ChannelError.connectTimeout(NIOCore.TimeAmount(nanoseconds: 10000000000)) [database-id: mysql]
[ WARNING ] NIOCore.ChannelError.connectTimeout(NIOCore.TimeAmount(nanoseconds: 10000000000))
[ ERROR ] Application.shutdown() was not called before Application deinitialized.
Vapor/ServeCommand.swift:131: Assertion failed: ServeCommand did not shutdown before deinit
Illegal instruction: 4
I created the tables manually and I'm able to query and insert new rows. Any thoughts? Not sure if this is in any way related to me not being able to access my Synology DB server from vapor.