Daily Archives: May 26, 2007

Backup and Restore Databases in MySQL

Just simple as following: mysqldump -h host -u user -p –databases db > dbbackup mysqldump -h host -u user -p CREATE DATABASE restored; mysql -h host -p -u user restored < dbbackup

Posted in MySQL | Leave a comment

Upgrade to WordPress 2.2

My blog is based on WordPress. Today I saw that there was a new version of 2.2, and decided to upgrade. As there are chances to upgrade frequently, I wrote a shell for myself: #!/bin/sh cd $1 $2 cp wp-config.php … Continue reading

Posted in Blog Tips | Leave a comment