CWCJimmy
07-20-2006, 05:51 PM
In access you can link a tables from ODBC sources and they work as if they were native tables. Is there a way to do this in MySQL? I can't seem to find anything on it perhaps becuase it's not possible or that I'm using incorrect terminology.
Here's my situation: I'm trying to run queries against an ODBC database and store the results into a MySQL database but the ODBC driver hangs on the type of queries I want to run. So what I'm currently doing is selecting all the records in three tables (each table has 65000 records) via PHP and storing them in a MySQL database and running the queries off of that. The only problem is this is taking a really really long time to run. Just to select the data and then format it for MySQL takes about 4 minutes on the table with the least amount of columns, that's not inserting the data either. I'm trying to get away from this if I can.
Thanks!
Here's my situation: I'm trying to run queries against an ODBC database and store the results into a MySQL database but the ODBC driver hangs on the type of queries I want to run. So what I'm currently doing is selecting all the records in three tables (each table has 65000 records) via PHP and storing them in a MySQL database and running the queries off of that. The only problem is this is taking a really really long time to run. Just to select the data and then format it for MySQL takes about 4 minutes on the table with the least amount of columns, that's not inserting the data either. I'm trying to get away from this if I can.
Thanks!