games647 / FlexibleLogin

A Sponge minecraft server plugin for second factor authentication
https://forums.spongepowered.org/t/8872
MIT License
87 stars 23 forks source link

Fix broken database url #157

Closed SakiiCode closed 5 years ago

SakiiCode commented 5 years ago

double slash required before host address

games647 commented 5 years ago

Which OS and database system do you use? This change was necessary to fix #156

SakiiCode commented 5 years ago

Then my code is wrong, but the double slash is necessary for MySQL, otherwise it throws java.sql.SQLException: url parsing error : '//' is not present in the url jdbc:mysql:localhost:3306/auth?useSSL=false

SakiiCode commented 5 years ago

Okay done