Changes

Jump to navigation Jump to search
===Change the Dbase===
I'm going to tried 'rename' the dbase, create creating a dedicated dbase user that has access to just the wiki's dbase, and reset resetting its password. in /bulk/backups: mysqldump --password olddbase > mediawiki.sql mysql -u olduser -p CREATE DATABASE wiki; mysql -u olduser -p wiki < mediawiki.sql mysql -u olduser -p CREATE USER 'wiki'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON wiki.* TO 'wiki'@'localhost'; FLUSH PRIVILEGES; This led to two different errors. First, the cloned database didn't seem to support Semantic Mediawiki somehow. And second, the new user didn't seem to work. This was true even if I gave them rights on the olddbase. So I abandoned the attempt. Clean up the attempt: mysql -u olduser -p DROP DATABASE wiki; DROP USER 'wiki'@'localhost'; I did put an .htaccess file in /var/lib/mediawiki to restrict access to LocalSettings.php, though I expect that this is redundant. <files LocalSettings.php> order allow,deny deny from all </files>
==Update Linux==

Navigation menu