Skip to content

Commit

Permalink
fix: using-databases jdbc url for mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsJustMiaouss committed Jul 15, 2024
1 parent 2085b96 commit 77fdaff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/paper/dev/misc/databases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public class DatabaseManager {

public void connect() {
HikariConfig config = new HikariConfig();
config.setJdbcUrl("jdbc://mysql://localhost:3306/mydatabase"); // Address of your running MySQL database
config.setJdbcUrl("jdbc:mysql://localhost:3306/mydatabase"); // Address of your running MySQL database
config.setUsername("username"); // Username
config.setPassword("password"); // Password
config.setMaximumPoolSize(10); // Pool size defaults to 10
Expand Down

0 comments on commit 77fdaff

Please sign in to comment.