Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Amit jain Mait
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4402
251
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Jaini the king" please check your private messages regarding an important administrative matter.
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4402
251
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not related to Servlets. Moving to JDBC...
 
Mark E Hansen
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Jaini the king,
Try to install connector/J - the driver which talks to your mysql database.
 
Amit jain Mait
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Jaini the king" please check your private messages regarding an important administrative matter.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic