Install Semantic MediaWiki

From Organic Design
Jump to: navigation, search
Procedure.svg Install Semantic MediaWiki
Organic Design procedure

The Semantic MediaWiki extension requires a Sysop to create new MySql tables via a Special Page. These tables are prefixed with smw_. For these tables to be created the mysqluser specified by the global variable $wgUser in LocalSettings.php must have additional grant table privileges, specifically Create_priv, and Alter_priv to in the mysql db table.

UPDATE db 
SET Create_priv="Y",Alter_priv="Y" 
WHERE Db=[Database];

FLUSH PRIVILEGES;

You may need to run the mysaladmin script to reload the mysql grant tables;

mysqladmin -u [User] -p reload

See also