1) What is the best way to restore the content using the db files?
2) What is the best way to insert the recovered, old posts into my current blog?
I was using WAMP2 on the home server and have downloaded the older version I was using at the time which includes mysql 5.1.36. I have seen people say to add the frm and myd only and do a repair. If that is the case, can I then recreate the entire site or will that simply allow me to scrape the content from the DBs? Or, do I perform a proper backup from the repaired tables and use that to restore the site? And finally, however I go about recovering the old site’s content, do I have to manually recreate (cut/paste) each older post into my new site or is there a better way to insert the media files and content that’s less laborious?
Thanks in advance for any help.
]]>I have many WP sites, all working fine. However, following a server crash and rebuild, I noticed that a few of my WP sites had incomplete MySQL data files:
– wp_posts.MYD and wp_posts.MYI
– wp_usermeta.MYD and wp_usermeta.MYI
the .frm files for both tables are however present.
The issue wasn’t really apparent before the crash: the sites were working fine because of the MySQL data files (ibdata1, ib_logile0 and ib_logfile1). WP was retrieving/using the table data held in those files.
I have now been able to recover the ibdata1 and logfiles, and, having restored them, the sites with the missing MYD and MYI files are operational once more. However, I’d like to have a complete set of files, not ones which also rely on the huge common ibdata1 file.
The reason why I’m wondering whether this is WP-relate is because I’ve now noticed this on 3 different WP installations. All 3 have the same missing files from the same tablenames. And all 3 were recent installations of WP.
If this isn’t a WP-related issue, maybe it’s a MySQL “feature”? I can’t remember, but maybe there had been a minor revision of MySQL installed between my earlier WP sites which have full sets of data files and the 3 which have the missing data files.
Using phpMyadmin, I’ve made a copy of a problematic WP database, selecting structure and data, but the backup copy still has the missing data files…
I’ve also made an .sql backup, but not sure if this will have the missing tables as well :/
Any ideas on how to recreate the data tables fully?
Server details:
Ubuntu 14.04 LTS
MySQL 5.5.40
PHP 5.5.9
this is my first attempt and “cry” for help in this forum. My problems, as the title clearly states, are:
1. I don’t have access to my website anymore, it just says “Error establishing a database connection”;
2. I tried to repair and optimize the database, and the result is this message: ” Failed to repair the xto_options table. Error: File ‘./alinever_wor3/xto_options.MYD’ not found (Errcode: 2)”
After the 4.1 WP update as well as to all the other plugins I have, I posted on my blog last Friday (dec. 19 2014) and everything worked just fine until the next day (dec. 20 2014), when I tried to connect and saw the message in point 1 on my homepage. I contacted my hosting provider (they say it’s a coding error and they don’t manage that) as well as the theme creator (who still hasn’t replied).
Thank you for your assistance and attempt to help me.
My website is sebastianurlica.be
To cut a very long story short:
I hosted a friends blog on my server. The server was unfortunatly hacked. Because of measures put in place by my host, I could only retrieve raw SQL files (.myd, .myi, .frm). I got the complete set though.
Now what I want to do is obviously recreate his blog as it was. Simple enough.
What I did was perform a clean WP 2.7 install and then navigate to /var/lib/mysql/ to simply overwrite the fresh installs tables with the backed up versions. Simple I thought.
But on loading the blog I got a:
Not Found
Sorry, but you are looking for something that isn’t here.
The same from when viewing ‘Posts’ from within the ACP (‘No posts found’).
Is there something I’ve missed? A step I’ve forgotten? Is this even possible?
Should the DB I am copying the old files too (the fresh install), have the same name and access details as the old one?
I would really appreciate any help you guys could give on this, as otherwise I am up the creak with my friend
Thanks in advance,
Kap
]]>WordPress database error:
[File ‘./blog/wp_post2cat.MYD’
not found (Errcode: 13)]
SELECT
category_id FROM
wp_categories,
wp_post2cat WHERE
wp_post2cat.category_id = cat_ID AND wp_post2cat.post_id = ‘215’
Blog: www.arvindkrishnamoorthy.com/blog
]]>While installing wordpress for the first time on step 2 I get many messages like this:
WordPress database error: [File ‘./wordpress/wp_categories.MYD’ not found (Errcode: 9)]
DESCRIBE wp_categories;
Warning: Invalid argument supplied for foreach() in /var/www/wordpress/wp-admin/upgrade-functions.php on line 530
same error for wp_categories.MYD wp_comments.MYD wp_comments.MYD wp_links.MYD wp_links.MYD wp_post2cat.MYD wp_post2cat.MYD wp_postmeta.MYD wp_postmeta.MYD wp_posts.MYD wp_posts.MYD wp_usermeta.MYD… etc.
What are those files?
Why are they missing since I just have dowloaded the latest tar.gz from www.remarpro.com?
I have also tryed the .zip archive but I get the same errors…
I can’t go further: I can’t login even if I get the email “Your new WordPress blog has been successfully set up”.
Does anyone can help?
Thanks
Alex
]]>