I am moving 2 wordpress blogs to a new webserver. I have a backup of the 2 databases. In the new server, I copied my public_html folder to my server and created the databases and users using instruction provided by wordpress:
$ mysql -u adminusername -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON databasename.* TO “wordpressusername”@”hostname”
-> IDENTIFIED BY “password”;
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)
Then, I accessed my server through phpmyadmin and imported each of the databases. No errors were shown during import. When I try to access my webpage of any of the 2 blogs, I get a blank screen in the browser, no errors are shown.
The database names, usernames and passwords are the same in the old and new server. So, I didn’t change anything in the wp-config.php file.
Thanks for your help!
- The topic ‘Imported WordPress and my websites appear blank in browser’ is closed to new replies.