• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jdbc mysql connector linux only?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
cheers guys

and lol at my typos
reply
    Bookmark Topic Watch Topic
  • New Topic