MySQL Forums
Forum List  »  Newbie

Re: Faster connection
Posted by: Javier Rodriguez Paiva
Date: August 19, 2005 10:00AM

Hi Leonardo, did you mean DSN instead of ODBC? (because ODBC and a connection string are two different types of things, a connection string is just that, a string that tells your connection object how to connect to the db: odbc driver, host name, user, password, etc.... while ODBC stands for Open Database Conectivity, which is a set of methods (API's) that allow you to connect to any database and it may use the connection string to get some parameters).


In case you meant using DSN, I don't think there is a difference in speed while connecting to the DB. As far as I know, the main difference between the both of them is that using a connection string in your program kind of "hard-codes" your connection parameters, while using a DSN let's the user configure things like the connection driver, host, user, etc.


Javier

Options: ReplyQuote


Subject
Written By
Posted
August 19, 2005 07:19AM
Re: Faster connection
August 19, 2005 10:00AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.