BASIC
SELECT * FROM mpb_options where option_name IN ('siteurl', 'home');
UPDATE mpb_options SET option_value = 'http://blog.mage-expo.com' WHERE option_name IN ('siteurl', 'home');
ADVANCED
Note: Didn't work last time. Maybe you can check one more time
SET @OLD_URL = 'oldurl.com';
SET @NEW_URL = 'newurl.com';
UPDATE mpb_options SET option_value = REPLACE(option_value, @OLD_UR, @NEW_URL) WHERE option_name IN ('siteurl', 'home');
UPDATE mpb_posts SET guid = REPLACE(guid, @OLD_UR, @NEW_URL);
UPDATE mpb_posts SET post_content = REPLACE(post_content, @OLD_UR, @NEW_URL);
UPDATE mpb_postmeta SET meta_value = REPLACE(meta_value, @OLD_UR, @NEW_URL);
cd /path/to/wordpress
chown -R www-data:www-data ./
# Set all directories permissions to 755
find . -type d -exec chmod 755 {} \;
# Set all files permissions to 644
find . -type f -exec chmod 644 {} \;
chmod -v 666 .htaccess
chmod 640 wp-config.php
SELECT * FROM mpb_users WHERE user_login = 'magepsycho';
UPDATE mpb_users SET user_pass = MD5( 'p@ss429' ) WHERE user_login = 'magepsycho';