G
gllincoln
Hi,
Apologies if this is off topic but I would like to use the client's
installed Access (2002/XP) to link to his MySQL 5.0.45 database running on
WS 2003 Std. I used myODBC current version driver (installed smoothly,
recognizes, I can connect to the database I need to use and see the tables.
It seems slower than I would expect but I can select the tables I want (in
the link table manager wizard) and successfully link to them.
FWIW, the current database tables are fairly small - nothing over a couple
thousand records in a given table.
The problem - pulling up a table or query result dataset with 1 record takes
maybe 30 seconds. A table with 100 or so records takes upwards of 15 minutes
(yes minutes). It's not crashing, it will eventually populate the table -
but it's completely unusable this way.
I can append one record at a time takes 20-30 seconds. Or, I can append 10
and go get a cup of coffee, it will be done in about 4 minutes.
I could probably type some of the records in as fast as Access is fetching
or updating or appending to a table.
It seems to be v e r y s l o w l y grabbing one row at a time - going out
for coffee, coming back and requesting another row. The CPU utilization
doesn't go past 50% and other applications are able to run fairly normally
while we are waiting.
The client has an intranet application, rather complex one - written in
PHP/mySQL by someone else. Dumping mySQL is not an option. I'm hoping to be
able to do the on location management with Access because, frankly, I'm more
competent using Access/VBA than I am with writing PHP/mySQL/HTML to
accomplish the reporting and editing tasks.
I've tried stepping back to a slightly older ODBC version - no help. The
client has the most recent available Jet 4.0 drivers installed. I even tried
uninstalling Office XP and installed Access 2000 from his older copy of
Office 2000 Pro - made no difference.
I'm kind of stumped but pretty sure the problem is somehow related to either
the ODBC drivers (but don't think so because they seem to work for other
folks) or Access is by default looking elsewhere, timing out, then finally
taking a row at a time from mySQL, rinse and repeat.
It should be noted that the machine has more than adequate resources,
phpmyadmin runs nicely - command line mysql snaps to attention, I wrote a
simple, crude PHP connect to pull down the same table data - and it
populates a lengthy scrolled page of a table viewed by a browser in a very
reasonably amount of time. And, I'm not a PHP guru - it's not a slick or
efficient data routine I am performing - "select * from table;" then while I
can get a row, for each populate a table cell.
If Access was pulling the data up as fast as that PHP page - I could live
with it. <sigh>
Any help or ideas even, greatly appreciated! If I can't use Access, then I
guess it's time to start cramming on using PHP interactively with MySQL.
Gordon
Apologies if this is off topic but I would like to use the client's
installed Access (2002/XP) to link to his MySQL 5.0.45 database running on
WS 2003 Std. I used myODBC current version driver (installed smoothly,
recognizes, I can connect to the database I need to use and see the tables.
It seems slower than I would expect but I can select the tables I want (in
the link table manager wizard) and successfully link to them.
FWIW, the current database tables are fairly small - nothing over a couple
thousand records in a given table.
The problem - pulling up a table or query result dataset with 1 record takes
maybe 30 seconds. A table with 100 or so records takes upwards of 15 minutes
(yes minutes). It's not crashing, it will eventually populate the table -
but it's completely unusable this way.
I can append one record at a time takes 20-30 seconds. Or, I can append 10
and go get a cup of coffee, it will be done in about 4 minutes.
I could probably type some of the records in as fast as Access is fetching
or updating or appending to a table.
It seems to be v e r y s l o w l y grabbing one row at a time - going out
for coffee, coming back and requesting another row. The CPU utilization
doesn't go past 50% and other applications are able to run fairly normally
while we are waiting.
The client has an intranet application, rather complex one - written in
PHP/mySQL by someone else. Dumping mySQL is not an option. I'm hoping to be
able to do the on location management with Access because, frankly, I'm more
competent using Access/VBA than I am with writing PHP/mySQL/HTML to
accomplish the reporting and editing tasks.
I've tried stepping back to a slightly older ODBC version - no help. The
client has the most recent available Jet 4.0 drivers installed. I even tried
uninstalling Office XP and installed Access 2000 from his older copy of
Office 2000 Pro - made no difference.
I'm kind of stumped but pretty sure the problem is somehow related to either
the ODBC drivers (but don't think so because they seem to work for other
folks) or Access is by default looking elsewhere, timing out, then finally
taking a row at a time from mySQL, rinse and repeat.
It should be noted that the machine has more than adequate resources,
phpmyadmin runs nicely - command line mysql snaps to attention, I wrote a
simple, crude PHP connect to pull down the same table data - and it
populates a lengthy scrolled page of a table viewed by a browser in a very
reasonably amount of time. And, I'm not a PHP guru - it's not a slick or
efficient data routine I am performing - "select * from table;" then while I
can get a row, for each populate a table cell.
If Access was pulling the data up as fast as that PHP page - I could live
with it. <sigh>
Any help or ideas even, greatly appreciated! If I can't use Access, then I
guess it's time to start cramming on using PHP interactively with MySQL.
Gordon