Connection to vc++

------_=_NextPart_001_01C73980.565BD714
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi I am a rookie at both vc++ and mysql..could you please guide me on
how do I establish a connection between the two is a simple manner.

Thanks,
Amit

------_=_NextPart_001_01C73980.565BD714--
amit.nayak [ Di, 16 Januar 2007 16:09 ] [ ID #1596939 ]

RE: Connection to vc++

The manual at http://dev.mysql.com/doc/refman/5.0/en/ guides all rookies =
to the galaxy.

> -----Original Message-----
> From: Nayak, Amit [mailto:amit.nayak [at] fmr.com]
> Sent: Tuesday, January 16, 2007 4:10 PM
> To: myodbc [at] lists.mysql.com
> Subject: Connection to vc++
>
> Hi I am a rookie at both vc++ and mysql..could you please guide me on
> how do I establish a connection between the two is a simple manner.
>
> Thanks,
> Amit

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=3Dgcdmo-myodbc [at] m.gmane.o rg
armin.schoeffmann [ Di, 16 Januar 2007 16:42 ] [ ID #1596941 ]

Re: Connection to vc++

Nayak, Amit wrote:
> Hi I am a rookie at both vc++ and mysql..could you please guide me on
> how do I establish a connection between the two is a simple manner.
>
> Thanks,
> Amit
>
>
You basically have the choice of connecting you using a Data Source Name
(DSN) or connecting without one. The advantage of using a DSN is that
the connection information can change without having to change
application code.

If you want to use a DSN then look for information on SQLConnect().

If you do NOT want to use a DSN then look for information on
SQLDriverConnect().

There are 2 other ways but they are less popular.

see...

http://dev.mysql.com/doc/refman/4.1/en/myodbc-connector.html
http://msdn2.microsoft.com/en-us/library/ms710252.aspx


--
Peter





--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
pharvey [ Di, 16 Januar 2007 16:47 ] [ ID #1596942 ]

RE: Connection to vc++

Check out sections 25.2 and 25.5 in the MySQL manual. Chapter 26 may be
useful too.

-----Original Message-----
From: Nayak, Amit [mailto:amit.nayak [at] fmr.com]
Sent: Wednesday, 17 January 2007 1:40 AM
To: myodbc [at] lists.mysql.com
Subject: Connection to vc++

Hi I am a rookie at both vc++ and mysql..could you please guide me on
how do I establish a connection between the two is a simple manner.

Thanks,
Amit

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=3Dgcdmo-myodbc [at] m.gmane.o rg
John.Bonnett [ Di, 16 Januar 2007 22:57 ] [ ID #1596943 ]
Datenbanken » gmane.comp.db.mysql.odbc » Connection to vc++

Vorheriges Thema: mysql odbc query
Nächstes Thema: RE: MS Access - Windows ODBC with remote connection to LinuxDatabase