File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes connecting to MySQL in Linux vs. Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "connecting to MySQL in Linux vs. Windows" Watch "connecting to MySQL in Linux vs. Windows" New topic

connecting to MySQL in Linux vs. Windows

Chris Savin

Joined: Oct 03, 2003
Posts: 2
Hello all!
I have been working on a java project that uses a connenction to a MySQL database. The application works OK under Linux, but when I've tried to run it in Windows, it yielded an internal error in the executeStatement() method. I'm using MySQL Connector driver for the connection.
What should I do?
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 642
If u can write u r problem in more detail,others can help u better

All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Not a JSP question. JDBC seems most appropriate. Moving...

[Asking smart questions] [About Bear] [Books by Bear]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Can you show us the code and the error message?

GenRocket - Experts at Building Test Data
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
seems to be not a difficult one. But please give some more details reg. the error

Sarath Mohan
I agree. Here's the link:
subject: connecting to MySQL in Linux vs. Windows
It's not a secret anymore!