facebook

Cannot create mysql driver

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #252693 Reply

    snemo00
    Member

    When i try to create the mysql driver, to connect by the myeclipse databse explorer. I select the driver, and select the class, and i press ok, and didnt happens anything, i cannot continue, and the driver wasn’t never create. And if i press cancel, the window closes and i continue, but cannot create the driver, what should i do to create it???
    I use mysql 5
    thz

    #252694 Reply

    snemo00
    Member

    My system configuration is:

    *** Date: Sun May 28 17:09:05 GMT-05:00 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060309-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Platform

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Java Development Tools

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Graphical Editing Framework

    Version: 3.1
    Build id: 200509301327

    Eclipse Project SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse RCP

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Plug-in Development Environment

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    D:\desarrollo\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    9b0_3c
    -vm
    C:\WINDOWS\system32\javaw.exe

    #252706 Reply

    Haris Peco
    Member

    snemo00,

    I suppose that you have wrong jdbc jar – when you add jdbc jar you got driver class automatic
    (if jar is correct and there is driver class)

    You have to add driver name (some unique) and example of url (you got some url and you can chane it)

    If you have yet problems, please send us data about your jdbc driver (version, jar name etc) and what you exactly do

    Best

    #252707 Reply

    snemo00
    Member

    I think that i didn’t explaint the problem correctly. I select the claas fo r the driver, but when i press the ok button, didnt happens anything like the button dont have and event

    #252708 Reply

    snemo00
    Member

    I think that i didn’t explaint the problem correctly. I select the claas fo r the driver, but when i press the ok button, didnt happens anything like the button dont have and event

    #252709 Reply

    snemo00
    Member

    the jdbc jar: mysql-connector-java-3.1.12-bin-g.jar
    ,the mysql class driver is: com.mysql.jdbc.Driver
    the connection url is: jdbc:mysql://<hostname>[<:3306>]/<dbname>
    i use the driver template: MySQL Connector/J Driver

    #252710 Reply

    snemo00
    Member

    I fix the problem, i use for now, an old mysql driver, thanks a lot

    #252711 Reply

    Haris Peco
    Member

    your driver is correct (last stable for mysql)

    can you try next :

    – open myeclipse database perspective
    – in db Browser view right click and choose new
    – type name for your connection profile (for example ‘mysql-profile’)
    – click on Configure driver and select new
    – choose template ‘MySQL Connector/J Driver’
    – type driver name (for example ‘mysql-driver’)
    – click on ‘Add jars’ and show your jdbc jar file
    – click ok twice and return to Connection profile dialog
    – type your url, username and password

    you will got profile ‘mysql-profile’ in Db Browser – right click and choose ‘Open connection’

    Best

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Cannot create mysql driver

You must be logged in to post in the forum log in