I am running an SQL query involving the page table on all WMF wikis. For some reason, any query involving this table fails for me on 29 wikis with an error message such as this one:
ERROR 1356 (HY000): View 'altwiki_p.page' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
The query can be as simple as SELECT * FROM page LIMIT 10;, or more complex. Doesn't matter.
Affected wikis:
- altwiki
- amiwiki
- avkwiki
- banwikisource
- bclwiktionary
- dagwiki
- diqwiktionary
- enwikivoyage
- eowikivoyage
- jawikivoyage
- jvwikisource
- lldwiki
- lmowiktionary
- madwiki
- mgwiktionary
- mniwiki
- mniwiktionary
- mnwwiktionary
- niawiki
- niawiktionary
- pwnwiki
- shiwiki
- skrwiki
- skrwiktionary
- smnwiki
- taywiki
- trvwiki
- trwikivoyage
- wawikisource
All other wikis seem to be fine. I suspect that there is something wrong with the database configuration of the wikis listed above.
I observe the same behavior when querying from within my PAWS account, or from the Toolforge console using my standard msyn account.