Bug #28212 | Unable to link tables from MS Access | ||
---|---|---|---|
Submitted: | 3 May 2007 7:22 | Modified: | 3 May 2007 13:58 |
Reporter: | Waöter Schütz | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 5.00.11 | OS: | Windows (XP SP2, all secuity fixes) |
Assigned to: | CPU Architecture: | Any | |
Tags: | 1142, statistics |
[3 May 2007 7:22]
Waöter Schütz
[3 May 2007 7:32]
Waöter Schütz
Just in case it should matter: I used Access 2002 (10.6501.6825) SP3 for those tests.
[3 May 2007 9:11]
Tonci Grgin
Hi Walter and thanks for your report. Actually your ISP's administrator was right. connector/ODBC v5 makes extensive use of INFORMATION_SCHEMA database to retrieve necessary table(s) info so you need privileges over that database. What happens and why do you see tables listed: 070503 11:06:20 47 Connect root@localhost on test 47 Query SET NAMES utf8 070503 11:06:21 47 Query SELECT database() 47 Query SELECT database() 47 Query SHOW TABLES FROM test LIKE '%' << Not using I__S 070503 11:06:24 47 Query SELECT database() 47 Query SELECT database() 47 Query SHOW TABLES FROM test LIKE '%' << Not using I__S 47 Query SELECT * FROM `test`.`b22340` LIMIT 0 47 Query SELECT database() 47 Query SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='b22340' << Using I__S for metadata and here's where you fail... 070503 11:06:31 47 Query SELECT `b22340`.`ID` FROM `b22340` MyODBC 3.51.14 is bound to work as it doesn't use I__S database.
[3 May 2007 13:58]
Waöter Schütz
Hi Tonci ...so you need privileges over that database... Please excuse my ignorance: is this something I can do by myself or something that has to be done by the ISP's administrator? I looked at my database and tables by means of phpMyAdmin and HeidiSQL but I could not find INFORMATION_SCHEMA.STATISTICS. Generally: do you recommend the use of MyODBC 5.00.xxx or should I remain with MyODBC 3.51.14. I use this database productive, but it's operated just by myself as the developer of the MSAccess-Frontend. Kind regards, Walter