comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: GNADE/ODBC connection problem
Date: Fri, 3 Oct 2008 06:57:24 -0700 (PDT)
Date: 2008-10-03T06:57:24-07:00	[thread overview]
Message-ID: <37ea8921-0e2f-4a10-9347-8c078e367b0f@e17g2000hsg.googlegroups.com> (raw)
In-Reply-To: b1f9ff35-fa52-4fbc-8d24-90842b02e411@y71g2000hsa.googlegroups.com

On Oct 3, 3:14 pm, soychango...@gmail.com wrote:
> I'm trying to use GNADE to connect to a MySQL database but i keep
> getting the same error:
>
> raised GNU.DB.SQLCLI.DRIVER_ERROR :
> [Proc=SQLConnect][Server=][State=IM002][unixODBC][Driver Manager]Data
> source name not found, and no default driver specified

Have you configured your odbc.ini file? GNADE looks there for the data
source name you specified in your Ada program and for the driver it
should load to access the database.  The configuration of odbc.ini is
outside the scope of GNADE as this is really part of UnixODBC (which,
of course, I assume you have installed).

--
Ludovic Brenta.



  reply	other threads:[~2008-10-03 13:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 13:14 GNADE/ODBC connection problem soychangoman
2008-10-03 13:57 ` Ludovic Brenta [this message]
2008-10-03 15:39   ` soychangoman
2008-10-04 20:54 ` Maciej Sobczak
2008-10-05  7:07   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox