iConomy / Core

Attempting to get 6.0 out.

Home Page:http://dev.bukkit.org/server-mods/iconomy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No suitable driver found error

Darker opened this issue · comments

Hello.
I installed iConomy, but it seems to have problems with connectiong to MySQL. I have strong suspition that a library is missing in .jar file.

This error is thrown on every attempt to connect with MySQL (his means any /money cmmand for example):

12:55:55 [INFO] [iConomy] Database Error: java.sql.SQLException: No suitable driver found for jdbc:mysql:\\localhost:3306\iConomy

This is what a configuration file looks like:

    Database:
        Type: 'MySQL'                                 # H2 or MySQL
        Settings:
          Name: 'minecraft'
          Table: 'iConomy'
          MySQL:
              Username: 'minecraft'
              Password: 'minecraft'
              Hostname: 'localhost'
              Port: 3306

MySQL server is running properly and I have WorldGuard and AuthMe using it with no problems. Only iConomy throws errors.

Relevant code in iConomy: https://github.com/iConomy/Core/blob/iConomy6/src/com/iCo6/iConomy.java#L239