MySQL No suitable driver jdbc

Discussion in 'Bukkit Help' started by jamesst20, May 1, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    jamesst20

    Hi !

    I'm on Ubuntu 12.04 and everytime I run blocklog, I gets this :(

    [GRAVE] java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/minecraft

    I don't understand what is wrong as I've followed this tutorial :( http://dev.bukkit.org/server-mods/block-log/pages/mys-ql-installation/


    Thanks you, I really tried everything I could find on the internet
     
  2. Offline

    ashley

    copied this from another post
    Make sure to install the MySQL JDBC driver if you choose to use MySQL. You can obtain it from here:http://www.mysql.com/downloads/connector/j/
    You can simply drop it in your server root folder, alongside the CraftBukkit jar. It will need to be named mysql-connector-java-bin.jar. Alternately, if you know how, you should be able to include it in your Java path.

    if this doesn't work try putting the file mentioned above in a folder named "lib"
     
  3. Offline

    jamesst20

    Thanks you, I still get the same error even with addind mysql-connector-java-bin.jar to the folder :/
     
  4. Offline

    ashley

    even when you put it into lib folder?
    what program do you use for mysql?
    wamp or xampp or something else?
     
  5. Offline

    jamesst20

    Last edited by a moderator: May 25, 2016
  6. Offline

    Killburner

    Try:
    Code:
    sudo apt-get install libmysql-java
     
  7. Offline

    jamesst20

    I did already :/ Any idea?
     
  8. Same problem here - latest Bukkit version. Was working before, then suddenly, it stops working. Updated the jar file in the lib/ folder, and in the java installation on the PC (Ubuntu Server 12.04 x64 with Java7u2)
     
Thread Status:
Not open for further replies.

Share This Page