• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create DSN in Linux

 
ravisha andar
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Is it possible to create a DSN for mysql server in LINUX/UNIX machine ?

Please help me with this.

Thanks
 
Ifteqar Ald
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you can create this DSN by modifying the odbc.ini file located in your home directory

Here is the Sample for you




 
Paul Clapham
Sheriff
Pie
Posts: 20203
26
MySQL Database
  • 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to do that? Wouldn't it be more practical to use the JDBC driver for MySQL?
 
Rob Spoor
Sheriff
Pie
Posts: 20396
47
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DSN / ODBC is Microsoft's way of providing database abstraction. JDBC already does that for you. I agree with Paul, use JDBC to connect to the MySQL server directly.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic