how do I connect MySQL to SPSS - mysql

I have a MySQL database with several gigabytes of data I want to analyse. I have installed SPSS 22 and I am trying to get it to connect to MySQL using the ODBC Data Source Administrator. It seems fine with Access, MS SQL etc, but I can't get it to connect to MySQL.
I'm using XAMPP 32bit on a Windows 7 64 bit machine. I've installed:
http://dev.mysql.com/downloads/connector/odbc/ (installing the 32bit version to match the version of MySQL)
And when I set up the connections in Win7 Administrative tools -> ODBC Data Course Administrator and I can't see any way to register a MySQL ODBC connection
Am I missing something?
EDIT:
As the OS is 64 bit it requires a 64 bit ODBC connector. Installing the 64 ODBC connector allows me to build a connection, but as the database is 32 bits we get a mismatch and it won't connect.
"architecture mismatch"
Solution would be to install a 64 bit version of XAMPP, but they don't seem to build them

Related

Oracle database - link to MySql on Mac?

I'm working with a remote Oracle database and would like to create a link to a local MySQL database on my Macbook Pro. From what I've read it sounds possible, but I'm not sure how to get things setup.
I believe I need ODBC connection info setup on my Mac in the odbc.ini file. I can't find where that file should be, or what info to enter into it. I've come across Mac app "ODBC Manager" which looks like it should help with setup, but I see no instructions on how to use it. Can ODBC connection info be setup through other clients like Sequel Pro or SQL Developer?
I'm currently running Mac OS X 10.10.5 (Yosemite). I could update to Sierra if that would make the odbc setup/linking easier.
Thanks,
Steve
You don't need to upgrade OS X, in any case.
Are you trying to make MySQL consume data from Oracle? I do not believe this is possible.
Or make Oracle consume data from MySQL? This is done with DG4ODBC, an Oracle helper application, as Oracle -> DG4ODBC -> ODBC driver for MySQL -> MySQL.
DG4ODBC is available for various platforms (which do not include OS X). You'll need an ODBC driver for MySQL (such as those from my employer) installed on the same platform; DG4ODBC will need to be TCP/IP accessible by Oracle from its host; and MySQL on your Mac will need to be TCP/IP accessible by DG4ODBC from its host.

If I change an ODBC DSN from the registry in Windows 7, will my linked tables in MS Access need refreshed?

If I update the ODBC DSN registry entries to reflect server migration changes, will the linked tables that use these in local MS-Access databases need refreshed, or will they just automatically point to the linked tables on the other server? Or does it depend on the driver?
This will apply to both 32-bit and 64-bit systems using ODBC drivers for Visual Fox Pro (free table directories), MySQL, and SQL Server.
Here are the registry paths in question as I understand them:
HKLM\SOFTWARE\ODBC\ODBC.INI
Registry path for 32-bit ODBC DSNs on a 32-bit system, or 64-bit ODBC DSNs on a 64-bit system.
HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI
Registry path for 32-bit ODBC DSNs on a 64-bit system.
Your linked tables won't see the change. You have to use "Linked Table Manager" to refresh connection data.
See: http://www.addintools.com/documents/access/where-is-linked-table-manager.html
and: http://sourcedaddy.com/ms-access/modifying-linked-tables.html

Linking SQL Server 2012 32 bit and Ubuntu MySQL 64 bit

Can I add a Ubuntu based 64 bit MySQL server as a linked server to a 32 bit SQL Server 2012 ? What do I need to do the same ?
Do I need to install the MySQL ODBC drivers on both Ubuntu and Windows or only Windows ?

Linux MS SQL ODBC Driver for MySQL Workbench iODBC

I am running MySQL Workbench on Ubuntu 12.04. MySQL workbench cannot use FreeTDS for migration of MSSQL 2000 to MYSQL, it wants to use iODBC. I cannot find a deb/ubuntu MS SQL 2000 ODBC connector that I can use with iODBC.
All the documentation assumes you are running MySQL Workbench under Windows. I tried that, but had too many issues. Based on 3 days to googeling, trial and error, I think it will work better with MySQL Workbench running the migration from Ubunto instead of Windows.
Does anyone know of an ODBC driver for Ubuntu that will work with MySQL Workbench/iODBC?
Thanks!
JR
To clarify: iODBC is NOT a driver, is a driver manager. FreeTDS is a driver and you need both to use migration wizard. All detailed instructions how to setup you can find in link below:
Installing a driver for Microsoft SQL Server and Sybase ASE in Linux and Mac
The MySQL migration forum contains a number of sticky links to various resources that may help you with your task.
How-To, Blog post
List of links to ODBC drivers for various RDBMSes (and MS Access)

How to move MYSQL 5.0 Database from one server to another

My need is to move the MYSQL 5.0 database from my development m/c to actual production m/c,
How I can do this ???
On production m/c MYSQL is not installed, MY SQL 3.5 drivers are present.
but on my m/c MYSQL 5.0 and MYSQLDrivers 5.0 are resent so will on production server 3.5 driver will support 5.0 vertion...If I created DSN with 3.5 will it support database of 5.0?
Thanks
First step would be to install MySQL on the production server. If it's not, then there's no point in doing the migration, is there?
v3.5 drivers should be able to talk to a 5.x database, though you'll probably have some trouble. 3.x is positively stone age these days. Unless you have no control over the production server, there shouldn't be any reason to NOT upgrade to a 5.0/5.1 server and driver set.