Retrieving page contents from WordPress database
-
Hello,
I wanted to deactivate SSL on my web site because I needed to change the domain name, however, in spite of all my efforts, I can no longer enter into the WordPress back office.
I automated the re-installation of Apache, MySQL, PHP and WordPress so I can recreate a functional WordPress installation in no time. Also, I have a very recent backup of my site contents, obtained using this command on my Debian VPS:
mysqldump -u root -p$sDbRootPasswd --single-transaction $sDbName > /$sDbName.sqlI can then restore the database like this:
echo "DROP DATABASE $sDbName;" | mysql -u root -p$sDbRootPasswd echo "CREATE DATABASE $sDbName;" | mysql -u root -p$sDbRootPasswd mysql -u root -p$sDbRootPasswd $sDbName < $sDbName.sqlThe problem is that this breaks WordPress and I can no longer connect to the back office after restoring the database.
As I only have about 20 pages on my site, I could recreate them easily provided I would have access to the text contents of the web pages (I have access to all the images which are saved elsewhere). Is there a way, other than WordPress, to access the page contents in my WordPress sql database?
Thank you very for any suggestions you might have.
Marc
The topic ‘Retrieving page contents from WordPress database’ is closed to new replies.