aspose file tools*
The moose likes JDBC and the fly likes MY SQL 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 "MY SQL" Watch "MY SQL" New topic
Author

MY SQL

ajeesh_online
Greenhorn

Joined: Apr 30, 2006
Posts: 9
I have this version of MYSQL mysql-essential-5.0.19-win32.
But I can't connect to it. I couldn't even setup a DSN name. There is no DRIVER for MYSQL, What should I do?

I want help.
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
Originally posted by Ajeesh M:
I have this version of MYSQL mysql-essential-5.0.19-win32.
But I can't connect to it. I couldn't even setup a DSN name. There is no DRIVER for MYSQL, What should I do?

I want help.


Read the documentation.
http://dev.mysql.com/doc/refman/5.0/en/connectors.html

Assuming you're using Java, you don't want a DSN, you want to use the type 4 thin driver (which MySQL calls Connector/J).

You can download it here:
http://dev.mysql.com/downloads/connector/j/3.1.html
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: MY SQL