Hi,
      I would like to know how to connect to the mysql database using a
DSN in mysql API's. I am using myodbc 3.51 driver.

Used the following API code for the connection

MYSQL *link          = mysql_init(NULL);
MYSQL *connectHandle =
mysql_real_connect(link,"localhost","root","","test",0,NULL,0);

But this is not having the option for specifying the DSN or Driver.
Please provide me the solution.


Thanks,
Narasimha


Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to