DB 계정 생성
$ mysql -u root -p Enter Password: Mysql> grant all privileges on mediawiki.* to mediawiki@localhost identified by '******' with grant option; Mysql> flush privileges;
DB덤프파일 압축 풀고 복구
$ mysql -u mediawiki -p mediawiki < wiki.db.dump
LocalSettings.php 수정
베이스 경로 설정
... ## The URL base path to the directory containing the wiki; ## defaults for all runtime URL paths are based off of this. ## For more information on customizing the URLs please see: ## http://www.mediawiki.org/wiki/Manual:Short_URL $wgScriptPath = "/mediawiki"; ...
DB 설정
... ## Database settings $wgDBtype = "mysql"; $wgDBserver = "localhost"; $wgDBname = "mediawiki"; $wgDBuser = "mediawiki"; $wgDBpassword = "******"; ...
0 comments:
Post a Comment