Difference between revisions of "Mediawiki installation/Trouble shooting"
From Biowikifarm Metawiki
(Created page with "<div style="padding:1ex;" class="toc">Please feel free to add trouble cases and the hints and solutions to resolve them</div> == Cannot access the database == * configurat...") |
(→Cannot access the database) |
||
Line 4: | Line 4: | ||
== Cannot access the database == | == Cannot access the database == | ||
− | * configuration in Global MediaWikisettings correct? | + | * configuration in Global MediaWikisettings correct? (Version-dependent files like: MediaWikiCommonSettings_REL1_26.php) |
* has user wikiuser access? If not execute something like: <code>GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON `my_database` . * TO 'wikiuser'@'localhost';</code> | * has user wikiuser access? If not execute something like: <code>GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON `my_database` . * TO 'wikiuser'@'localhost';</code> | ||
[[Category: trouble shooting]] | [[Category: trouble shooting]] |
Latest revision as of 14:31, 14 September 2017
Please feel free to add trouble cases and the hints and solutions to resolve them
Cannot access the database
- configuration in Global MediaWikisettings correct? (Version-dependent files like: MediaWikiCommonSettings_REL1_26.php)
- has user wikiuser access? If not execute something like:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON `my_database` . * TO 'wikiuser'@'localhost';