- This topic has 7 replies, 2 voices, and was last updated 18 years, 5 months ago by Haris Peco.
-
AuthorPosts
-
snemo00MemberWhen 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
snemo00MemberMy 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 WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Graphical Editing Framework
Version: 3.1
Build id: 200509301327Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse 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
Haris PecoMembersnemo00,
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
snemo00MemberI 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
snemo00MemberI 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
snemo00Memberthe 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
snemo00MemberI fix the problem, i use for now, an old mysql driver, thanks a lot
Haris PecoMemberyour 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 passwordyou will got profile ‘mysql-profile’ in Db Browser – right click and choose ‘Open connection’
Best
-
AuthorPosts