This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
Sheriff

Joined: Jul 29, 2008
Posts: 3528
    
  77

"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
Sheriff

Joined: Jul 29, 2008
Posts: 3528
    
  77

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

Joined: Apr 01, 2009
Posts: 650
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: 2541
    
  10

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


OCUP UML fundamental and ITIL foundation
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5852
    
    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
 
jQuery in Action, 3rd edition