View Single Post
  #7 (permalink)  
Old 09-08-2008, 12:05 PM
int80 int80 is offline
Member
 
Join Date: Jul 2008
Posts: 27
int80 is on a distinguished road
Quote:
Originally Posted by Emil Kesler View Post
My PC runs Windows Vista. I installed Eclipse 3.4 Ganymede and would like to work with MySQL through the Eclipse. I already have the MySQL 5.1 installed. For working with it in the Eclipse, I have downloaded the MySQL Connector/J 5.1.6 and, by the installation docs, have to set the CLASSPATH environment variable. However, I don't see how to do that.
On the other hand, I opened the "Database Development" perspective in the Eclipse, and tryed to create Connection through the "Data Source Explorer", following the wizard leading through the process. Unfortunately, I failed to get the correct result. Only I had "Ping failed" or "Couldn't connect to NewMySQL"
I didn't do any of that in the end. I just right clicked on the folder containing the package and classes, went to properties, goto Java Build Path, Add external Jars, and then added the j connector jar file. Before you do that, put j connector jar in the workspace file.

I hope that helps.
Reply With Quote