*
The moose likes JDBC and the fly likes Creating Database(MySql) Connectivity in linux through any driver type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Creating Database(MySql) Connectivity in linux through any driver type" Watch "Creating Database(MySql) Connectivity in linux through any driver type" New topic
Author

Creating Database(MySql) Connectivity in linux through any driver type

Amit jain Mait
Greenhorn

Joined: Mar 17, 2010
Posts: 12
i have tried a lot to find out any information in database connectivity in linux but unable to do it...
will somebody help me out?

i do know in windows but not in linux.....

Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3019
    
  35

"Jaini the king" please check your private messages regarding an important administrative matter.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3019
    
  35

Not related to Servlets. Moving to JDBC...
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 643
Database connectivity is no different in Linux that it is on any other operating system.
Perhaps you can describe what you've done, and what problems you're having, including any errors you're receiving, if any.
kaustubh kurambhatti
Greenhorn

Joined: Oct 21, 2009
Posts: 13
Dear Jaini the king,
Try to install connector/J - the driver which talks to your mysql database.
Amit jain Mait
Greenhorn

Joined: Mar 17, 2010
Posts: 12
Mark E Hansen wrote:Database connectivity is no different in Linux that it is on any other operating system.
Perhaps you can describe what you've done, and what problems you're having, including any errors you're receiving, if any.



how to create data source name in linux....
kaustubh kurambhatti
Greenhorn

Joined: Oct 21, 2009
Posts: 13
Dear Jaini the king,
Have you install the connector/J and set its path??
You dont need to create data source name. Its a little different methodology.
Please refer to documentation.
And still if it is not working then contact me.
Best of Luck
bye
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

"Jaini the king" please check your private messages regarding an important administrative matter.


OCUP UML fundamental and ITIL foundation
youtube channel
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Amit wrote:how to create data source name in linux...


Amit, were you using ODBC to access MySQL on Windows? If so, please do not do that. You should be using the Connect/J JDBC driver to access MyDSQL, whether on Windows or Linux.

What you need is a MySQL JDBC tutorial


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating Database(MySql) Connectivity in linux through any driver type
 
Similar Threads
Struts- Shopping cart
WAS and DB2 connectivity details
Database support
How to Install DSN on Linux
Redhat Linux 7.0 and jdbc connectivity