Wikipedia - Mereset Isi Database Wikipedia

From OnnoWiki
Jump to navigation Jump to search

Asumsinya

username root
password 123456
database wikipedia
username wikipedia
password wikipedia
lokasi /var/www/wikipedia

Lakukan

service mysql stop
service mysql start
mysqladmin --user=root --password=123456 --force drop wikipedia
mysqladmin --user=root --password=123456 create wikipedia
mysql -u wikipedia -pwikipedia wikipedia < /var/www/wikipedia/maintenance/tables.sql
service mysql stop
service mysql start


Pranala Menarik