aspose file tools*
The moose likes JDBC and the fly likes MySql Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "MySql Question" Watch "MySql Question" New topic
Author

MySql Question

Joe Richard
Ranch Hand

Joined: Aug 15, 2001
Posts: 76
Does anyone know how to connect to a MySql database on a PC with eclipse as the IDE?
Any help would be greatly appreciated.


Persistence equals goals
SCJD (In Progress), SCJP
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

You need to be a little more specific in your question. Are you having problems connecting with your code you wrote using Eclipse? Or are you wanting something like a Mysql Front inside of eclipse. If this is the case there are plenty of plugins available and you can find them here.
Unless this has more to do with JDBC I will be moving it to the IDE forum. Waiting on you....


GenRocket - Experts at Building Test Data
Joe Richard
Ranch Hand

Joined: Aug 15, 2001
Posts: 76
I am having a problem with the Driver in eclipse. I have added the correct library to my project. But I still am having problems importing the com.mysql.jdbc package. Does anyone know how to correct this problem. My other JDBC Drivers (DB2, DB2 iSeries, SQLServer) work fine I cannot get this one to work.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Joe Richard:
I am having a problem with the Driver in eclipse. I have added the correct library to my project. But I still am having problems importing the com.mysql.jdbc package. Does anyone know how to correct this problem. My other JDBC Drivers (DB2, DB2 iSeries, SQLServer) work fine I cannot get this one to work.

Importing the package? There is no reason you should be importing the package in your java code as in
import com.mysql.jdbc.*
or any varient there of. This is done dynamically when you do Class.forName("com.mysql.jdbc.Driver"); Unless I am missing something.
Are you getting errors? Can we see some code? Is this an Eclipse question?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MySql Question