Connect to the preferred database by configuring it in the ODBC data sources of the User Preferences dialog box (available only if you have licensed the Database module):
While running Switch on a 64 bit Windows operating system, only 32 bit ODBC drivers can be used as Switch is currently a 32 bit process.
For example, in case of MySQL database the ODBC driver installer mysql-connector-odbc-5.1.8-winx64.msi is used. When you launch this installer and choose the Custom installation you will see that there are two drivers available: 32 bit and 64 bit. Here choose to install the 32 bit driver and preferably disable the 64 bit driver to avoid mix-up of driver versions in the future. This will guarantee that Switch uses the correct driver. Refer this http://msdn.microsoft.com/en-us/library/ms710285%28v=VS.85%29.aspx website for more information on ODBC drivers and data sources.
Use the 32 bit version from \windows\sysWOW64\odbcad32.exe to configure your DSNs for Switch.
If you install only the 32 bit ODBC driver and then launch the 64 bit version of the tool then you will not be able to configure any DSNs. This is because 64 bit version of the tool does not show the 32 bit ODBC drivers.
If you have installed the 64 bit ODBC drivers, then in the 64 bit version of the tool you will see the 64 bit driver and you will be able to configure DSNs for that driver. However, Switch will not work with these DSNs and you will get the error message The specified DSN contains an architecture mismatch between the Driver and Application".
Therefore, always install 32 bit ODBC drivers and use the 32 bit version of the ODBC Administrator tool.
Refer this http://msdn.microsoft.com/en-us/library/ms712362%28v=VS.85%29.aspx website for more information on managing data sources.
On Mac OS X too, the rule of using 32 bit ODBC driver for Switch is relevant because Switch is a 32 bit process on this platform too. For example, in the MySQL database there are two versions of Mac OS X ODBC drivers available: 32 bit and 64 bit. You need to use the 32 bit version (mysql-connector-odbc-5.1.8-osx10.6-x86-32bit.dmg).