Skip to content

Commit e261f28

Browse files
authored
Update database URLs and dependencies (#802)
Changed MariaDB test URLs to port 3306 for standardization. Updated MySQL connector implementation in docs and bumped versions for H2, MSSQL, MySQL, PostgreSQL, and SQLite in `libs.versions.toml`.
1 parent 3d7abab commit e261f28

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

dataframe-jdbc/src/test/kotlin/org/jetbrains/kotlinx/dataframe/io/h2/mysqlH2Test.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ class MySqlH2Test {
323323
"""
324324
SELECT
325325
t1.id,
326-
t1.enumCol,
326+
t1.enumCol
327327
FROM table1 t1
328328
JOIN table2 t2 ON t1.id = t2.id
329329
""".trimIndent()

dataframe-jdbc/src/test/kotlin/org/jetbrains/kotlinx/dataframe/io/local/imdbTest.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import java.sql.DriverManager
1616
import java.util.Properties
1717
import kotlin.reflect.typeOf
1818

19-
private const val URL = "jdbc:mariadb://localhost:3307/imdb"
20-
private const val URL2 = "jdbc:mariadb://localhost:3307"
19+
private const val URL = "jdbc:mariadb://localhost:3306/imdb"
20+
private const val URL2 = "jdbc:mariadb://localhost:3306"
2121
private const val USER_NAME = "root"
2222
private const val PASSWORD = "pass"
2323

dataframe-jdbc/src/test/kotlin/org/jetbrains/kotlinx/dataframe/io/local/mariadbTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import java.sql.DriverManager
2323
import java.sql.SQLException
2424
import kotlin.reflect.typeOf
2525

26-
private const val URL = "jdbc:mariadb://localhost:3307"
26+
private const val URL = "jdbc:mariadb://localhost:3306"
2727
private const val USER_NAME = "root"
2828
private const val PASSWORD = "pass"
2929
private const val TEST_DATABASE_NAME = "testKDFdatabase"

docs/StardustDocs/topics/readSqlDatabases.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ implementation("org.postgresql:postgresql:$version")
4646
For MySQL:
4747

4848
```kotlin
49-
implementation("mysql:mysql-connector-java:$version")
49+
implementation("com.mysql:mysql-connector-j:$version")
5050
```
5151

5252
For SQLite:

gradle/libs.versions.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ serialization = "1.7.0"
2828
fuel = "2.3.1"
2929
poi = "5.2.5"
3030
mariadb = "3.3.2"
31-
h2db = "2.2.224"
32-
mssql = "12.6.1.jre11"
33-
mysql = "8.3.0"
34-
postgresql = "42.7.2"
35-
sqlite = "3.45.1.0"
31+
h2db = "2.3.230"
32+
mssql = "12.6.3.jre11"
33+
mysql = "9.0.0"
34+
postgresql = "42.7.3"
35+
sqlite = "3.45.3.0"
3636
jtsCore = "1.18.1"
3737
kotlinDatetime = "0.6.0"
3838
openapi = "2.1.20"

0 commit comments

Comments
 (0)