Ktor ToDo-List Backend #05 - Accessing a MySQL Database (1) (Kotlin, Ktorm)

Опубликовано: 18 Июнь 2026
на канале: Caelis
7,243
93

Was that tutorial helpful for you? What do you think about ktor and kotlin?
Let me know in the comments below! Also leave a like and follow to support me.



Gradle Dependencies:
implementation 'mysql:mysql-connector-java:8.0.11'
implementation "org.ktorm:ktorm-core:3.2.0"
implementation "org.ktorm:ktorm-support-mysql:3.2.0"


JDBC Url:
val jdbcUrl = "jdbc:mysql://$hostname:3306/$databaseName?user=$username&password=$password&useSSL=false"





Check out my new website: https://caelis.me/

-► Resources:
♦ Source Code for this tutorial on GitHub: https://github.com/caelis-io/ktor-tod...
♦ Ktor Website: https://ktor.io/
♦ Kotlin Documentation: https://kotlinlang.org/

-► Links:
♦ YT Abo: http://bit.ly/CaelisAbo
♦ Website: https://caelis.me/
♦ Twitch: http://bit.ly/CaelisTwitch
♦ Twitter: http://bit.ly/CaelisTwitter
♦ Ask: http://bit.ly/CaelisAsk