Kotlinc-jvm repl having trouble connecting to mysql database

I think my comment above may be related to this other post 5 years ago - Kotlin Classpath and Java ClassLoaders with REPL - #4 by udalov