Difference between revisions of "Mediawiki Mereset Isi Database Mediawiki"

From OnnoWiki
Jump to navigation Jump to search
(New page: Asumsinya Lakukan service mysql stop service mysql start mysqladmin --user=root --password=123456 --force drop mediawiki mysqladmin --user=root --password=123456 create mediawiki m...)
 
Line 1: Line 1:
 
Asumsinya
 
Asumsinya
  
 +
username root
 +
password 123456
 +
database mediawiki
 +
username mediawiki
 +
password mediawiki
  
 
Lakukan
 
Lakukan
Line 15: Line 20:
  
 
==Pranala Menarik==
 
==Pranala Menarik==
 +
 +
* [[Mediawiki]]

Revision as of 08:50, 23 November 2011

Asumsinya

username root
password 123456
database mediawiki
username mediawiki
password mediawiki

Lakukan

service mysql stop
service mysql start
mysqladmin --user=root --password=123456 --force drop mediawiki
mysqladmin --user=root --password=123456 create mediawiki
mysql -u mediawiki -pmediawiki mediawiki < /var/www/wiki/maintenance/tables.sql
mysql -u mediawiki -pmediawiki mediawiki < /usr/local/src/wikidb.sql
service mysql stop
service mysql start


Pranala Menarik