Re: Uso de DSN
Jess Balint <[email protected]>
| Newsgroups | gmane.comp.db.mysql.odbc |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 10, 2008 at 04:27:22PM -0200, Pablo R. Canto wrote: > Tal cual, lo mas adecuado es definir una variable global ej Global GoDB > as ADODB.Connection y asignarla para utilizarla desde cualquier parte > del proyecto o conjunto de proyectos. > > Ej de una función para realizar conectarse a un mysql sin DSN: > ... > & "OPTION=" & tDatabaseOption & ";CHARSET=latin1;" It is advised not to set the CHARSET option on your connection when using Connector/ODBC 5.1. The driver will properly handle matching the character sets between what's returned from the server and what the application needs. This includes both Unicode and non-Unicode character sets. Jess -- MySQL ODBC Mailing List For list archives: http://lists.mysql.com/myodbc To unsubscribe: http://lists.mysql.com/[email protected]