https://kotlinlang.org logo
#exposed
Title
# exposed
h

Hamza

10/21/2018, 12:03 PM
what is the url for the jdbc driver? im using
Copy code
val jdbc = "jdbc:mysql://$user:$pass@$url"
    Database.connect(jdbc, driver)
with
com.mysql.cj.jdbc.Driver
as driver, and url being
[redacted]:3306/[databaseName]
t

tapac

10/22/2018, 8:43 AM
Database.connect("jdbc:<mysql://host:port/database>", "com.mysql.jdbc.Driver", $username, $password)
h

Hamza

10/22/2018, 9:31 AM
Thanks!
9 Views