#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Location
    Kitchener, Ontario, Canada
    Posts
    31
    Rep Power
    14

    Unable to load class org.gjt.mm.mysql.Driver


    Working with the tutorials on site here, I get an error on this line:

    Class.forName("org.gjt.mm.mysql.Driver");

    The error message can be seen here: http://www.hyrum.net/therecord/index.jsp

    What does it mean and how can I fix it?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Posts
    0
    Rep Power
    0
    You need to put the mysql driver (a .jar file) in your classpath. Your /WEB-INF/lib folder will do the trick.
    If you haven't got it you can download the latest from www.mysql.com
    Good Luck!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Location
    Kitchener, Ontario, Canada
    Posts
    31
    Rep Power
    14
    Turned out to be a few things wrong...

    1) Was missing the jar file
    2) mysql.users neded to be changed for the way localhost shows...

IMN logo majestic logo threadwatch logo seochat tools logo