Thread Starter
ealvin
(@ealvin)
Thanks guys,
Podz asked,
“Do you have SSH access (command line) to the server? If you do life becomes easier.” How would I know?
“Do you have access to the original database?” Yes.
“Does the exported file contain any stats data which could be dumped?” The blog is a WP 1.5 so many of the plugins are probably out of date and I haven’t copied those over yet. I hope that’s OK. Also, my backup starts with Blacklist. I assume that’s from a plugin. My guess is this could be deleted. Is that correct?
I doubt if there is any other stats data, but I’m not totally sure.
Also, I didn’t get an answer about if I miss a line. Can the db tell if something is missing and let me know or would I just be out of luck?
Coolzor, every line is a separate line. Here’s what it looks like.
INSERT INTO wp_bas_log VALUES (11001, ‘2005-12-14 10:49:26’, 0, 22);
INSERT INTO wp_bas_log VALUES (11002, ‘2005-12-14 10:59:07’, 0, 2);
Those are two separate lines. I don’t know if that gives you enough info to know if it’s a structured data base or not. What do you think?
Thanks guys for your help.
Thread Starter
ealvin
(@ealvin)
I started copying and pasting and got this error…
INSERT INTO wp_bas_visitors
VALUES ( 489, 1073186778, 2, 5, 5, ‘2005-06-15 16:34:09’ )
MySQL said:
#1146 – Table ‘visitors_wrdp1.wp_bas_visitors’ doesn’t exist
What do I do now?
That’s part of a stats table – do you really want it?
If not, and you have a proper backup of the sql file, delete all the lines with the ‘wp_bas’ in them.
Thread Starter
ealvin
(@ealvin)
Thanks Podz, I’m still not clear on what happens if I miss a line. Could you clear that up for me?
Also, related to that, does it seem that I can delete the Blacklist as well?
Thread Starter
ealvin
(@ealvin)
I also have a bunch of wp_bas_refer (or something similar). Am I correct in assuming I can safely delete those as well? If so, this is going to eliminate probably 90% of all the date in the db.
Yep – delete the lot 🙂
It’s all BAStats stuff which on a restore just isn’t worth the hassle.
Thread Starter
ealvin
(@ealvin)
Well, eliminating all of those unnecessary files made the job much easier. However, I do have a new problem.
I have a custom theme and all of the sidebars stuff, blogroll, categories, etc. are way down on the page and instead of using 3 columns (2 sidebars) only the left sidebar and the main panel are being used.
Plus, I get this error message on this theme but not on the Classic view…
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
SELECT COUNT(DISTINCT ID) FROM
Any ideas on this?