Connection to vc++

Connection to vc++

am 16.01.2007 16:09:37 von amit.nayak

------_=_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--

RE: Connection to vc++

am 16.01.2007 16:42:24 von armin.schoeffmann

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@fmr.com]
> Sent: Tuesday, January 16, 2007 4:10 PM
> To: myodbc@lists.mysql.com
> Subject: Connection to vc++
>=20
> 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.
>=20
> Thanks,
> Amit

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=3Dgcdmo-myodbc@m.gmane.o rg

Re: Connection to vc++

am 16.01.2007 16:47:32 von pharvey

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@m.gmane.org

RE: Connection to vc++

am 16.01.2007 22:57:57 von John.Bonnett

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

-----Original Message-----
From: Nayak, Amit [mailto:amit.nayak@fmr.com]=20
Sent: Wednesday, 17 January 2007 1:40 AM
To: myodbc@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@m.gmane.o rg