File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes jdbc mysql connector linux only? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "jdbc mysql connector linux only?" Watch "jdbc mysql connector linux only?" New topic
Author

jdbc mysql connector linux only?

Chaz Anderson
Greenhorn

Joined: Sep 13, 2005
Posts: 3
Hi, I'm in comunication with my webhosting company to try and get them to install the jdbc mysql driver on their tomcat server. I told them to get the driver here http://dev.mysql.com/downloads/connector/j/3.0.html

they replied

"I am afraid that driver is a linux driver and will not work on a windows system.
After doing some research it would seem there is not a driver for this on
windows. I would reccomend using odbc."

Are they incorrect or did I send them the wrong driver? I'm pretty sure thats what I'm useing on my little test server... that runs on windows xp. Besides, isn't java pratform independent?
I really dont want to risk useing odbc.
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
Originally posted by Chaz Anderson:
Hi, I'm in comunication with my webhosting company to try and get them to install the jdbc mysql driver on their tomcat server. I told them to get the driver here http://dev.mysql.com/downloads/connector/j/3.0.html

they replied

"I am afraid that driver is a linux driver and will not work on a windows system.
After doing some research it would seem there is not a driver for this on
windows. I would reccomend using odbc."

Are they incorrect or did I send them the wrong driver? I'm pretty sure thats what I'm useing on my little test server... that runs on windows xp. Besides, isn't java pratform independent?
I really dont want to risk useing odbc.



Your absolutely right; the MySQL driver is pure Java and will work on any system that supports a current Java version and standard TCP/IP networking. The person at your hosting company who sent that is utterly clueless; there's probably someone else there who knows more about tomcat.
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1815
No, you are correct.

The Connector/J JDBC Driver for MySQL is a Type IV JDBC driver, meaning that it is pure Java and platform independant.

They can download and install from the .zip file provided in the link you sent them.

I wonder what "research" they did to come to their errorous conclusion? The is the same driver I use on both Win2K and XP.


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Chaz Andrews
Greenhorn

Joined: Sep 20, 2005
Posts: 23
cheers guys

and lol at my typos
 
I agree. Here's the link: http://jrebel.com/download
 
subject: jdbc mysql connector linux only?
 
Similar Threads
How do i setup ODBC data source for mysql
MySql Driver
New to JDBC
Connection JSP with MySql
Driver name for connecting MYSQL 5.0.5 with JAVA