Difference between revisions of "Mediawiki Mereset Isi Database Mediawiki"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 6: | Line 6: | ||
username mediawiki | username mediawiki | ||
password mediawiki | password mediawiki | ||
+ | lokasi /var/www/wiki | ||
Lakukan | Lakukan | ||
Line 14: | Line 15: | ||
mysqladmin --user=root --password=123456 create mediawiki | mysqladmin --user=root --password=123456 create mediawiki | ||
mysql -u mediawiki -pmediawiki mediawiki < /var/www/wiki/maintenance/tables.sql | mysql -u mediawiki -pmediawiki mediawiki < /var/www/wiki/maintenance/tables.sql | ||
− | |||
service mysql stop | service mysql stop | ||
service mysql start | service mysql start |
Revision as of 08:58, 23 November 2011
Asumsinya
username root password 123456 database mediawiki username mediawiki password mediawiki lokasi /var/www/wiki
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 service mysql stop service mysql start