Can't migrate wordpress website
I moved to DO from shared hosting. lemp Nginx Ubuntu 14/04
I uploaded all the wordpress files using winspc to /usr/share/nginx/html
i created a database and imported the older DB to it using terminal:
mysql -u root -p wordpress < /usr/share/nginx/html/olddatabase.sql
I changed The wp-config file.
now I’m getting almost an empty wordpress website. i can find all the plugins and themes but there are no posts, pages or pictures.
What can be the problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.