Re: EOModeler - Unable to connect to MySQL server
Re: EOModeler - Unable to connect to MySQL server
- Subject: Re: EOModeler - Unable to connect to MySQL server
- From: Keith Schomburg <email@hidden>
- Date: Sat, 22 Oct 2005 08:54:10 -0400
Jeroen,
That did the trick!!
Thanks,
Keith
On Oct 22, 2005, at 5:17 AM, Jeroen Beysens wrote:
Hi,
you should put only the mysql-connector-java-3.1.11-bin.jar file into:
/Library/Java/Extensions
Restart EOModeler and it will find the Driver (com.mysql.jdbc.Driver).
Download latest 3.1.11:
http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-
java-3.1.11.tar.gz/from/pick
On 22-okt-2005, at 07:03, Keith Schomburg wrote:
I'm trying to open up a JDBC connection to a MySQL server using
EOModeler. I specify my username and password and the URL of
"jdbc:mysql://localhost/test?
useUnicode=true&characterEncoding=UTF8". When I try to connect I
get the following error:
Communication failure during handshake. Is there a server running
on localhost:3306?
I know the server is running at localhost:3306 as I can connect to
it via the MySQL Administrator.
If I try to specify a specific driver such as
com.mysql.jdbc.Driver I get the following error:
JDBC connection failed for driver :'com.mysql.jdbc.Driver'.
Driver not found
in Java Runtime! Please verify your CLASSPATH environment
variable. The
current CLASSPATH for your application is : /Developer/
Applications/WebObjects/EOModeler.app/Contents/Resources/Java/
eomodeler.zip:/Users/keith/Library/Java:/Library/Java:/System/
Library/Java:/Network/Library/Java:/System/Library/Frameworks/
JavaVM.framework/Classes/classes.jar:/System/Library/Frameworks/
JavaVM.framework/Classes/ui.jar:/Developer/Applications/WebObjects/
EOModeler.app/Contents/Resources/Java/eomodeler.zip
Where is EOModeler picking up the value of CLASSPATH from?
I'm running with the following:
MacOS 10.4.2
MySQL 4.1.14
MySQL Connector/J 3.0.17
MySQL Database Driver mm.mysql-2.0.14
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden