Author Topic: DSN-less connection string  (Read 2491 times)

ylangisc

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
DSN-less connection string
« on: June 29, 2011, 06:11:09 pm »
Hi,

I'm trying to use the Automation API in Java. Is there any possibility to connect to a DB Model Repository with a DSN less connection string, e.g.

DRIVER={MySQL ODBC 5.1 Driver};DESCRIPTION=wrwe;SERVER=localhost;UID=eareader;PWD=eareader;DATABASE=myModel;PORT=3306;FOUND_ROWS=1;BIG_PACKETS=1

Also refer to

http://www.carlprothman.net/Technology/ConnectionStrings/ODBCDSNLess/tabid/90/Default.aspx

That would make it unnecessary to create a DSN entry for each of my models.

Thanks
Yves
« Last Edit: June 29, 2011, 06:11:31 pm by yvesl »