From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!postnews.google.com!e17g2000hsg.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GNADE/ODBC connection problem Date: Fri, 3 Oct 2008 06:57:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: <37ea8921-0e2f-4a10-9347-8c078e367b0f@e17g2000hsg.googlegroups.com> References: NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1223042244 11193 127.0.0.1 (3 Oct 2008 13:57:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 3 Oct 2008 13:57:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e17g2000hsg.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2217 Date: 2008-10-03T06:57:24-07:00 List-Id: On Oct 3, 3:14=A0pm, 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=3DSQLConnect][Server=3D][State=3DIM002][unixODBC][Driver Manager]Da= ta > 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.