Configure the connection

Report a typo

We have a connection with MariaDB with the following properties:

  • url: jdbc:mariadb://localhost:3306/kotlin

  • username: joe

  • password: joe1234

Please create the connection object using the Driver.getConnection method.

Connection connection = // write your code here
Enter a short text
___

Create a free account to access the full topic