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

I can not connect to the database on sql. #147

Open keng-crp opened 5 years ago

keng-crp commented 5 years ago

I can not connect to the database on sql.

Database configuration

sqlConfiguration {

Database name

database=flexiblelogin
# Password in order to login
password="passwordsql"
# Path where the database is located. This can be a file path (h2/SQLite) or an IP/Domain (MySQL/MariaDB)
path="localhost"
# Port for example MySQL connections
port=3306
# SQL server type. You can choose between h2, SQLite and MySQL/MariaDB
type=MySQL
# It's strongly recommended to enable SSL and setup a SSL certificate if the MySQL/MariaDB server isn't running on the same machine
useSSL=false
# Username to login the database system
username="root"

}

games647 commented 5 years ago

Where is the database error?