cesards
01/27/2020, 1:51 AMDatabase.connect(
url = "jdbc:postgresql://{ip}/{instance-name}",
driver = "org.postgresql.Driver",
user = "postgres",
password = "{password}"
)
If tried to log in using gcloud and it works:
gcloud sql connect {instance-name} --user=postgres
The error that I’m getting from Exposed when I run my server:
Caused by:
java.lang.IllegalStateException: Can't load implementation for DatabaseConnectionAutoRegistration
at org.jetbrains.exposed.sql.Database.<clinit>(Database.kt:64)
Any help would be super appreciated.