On the same VPS/Server I have a WP Site that I want to add some of that data to.
All the WP All Import documents seem to talk about importing from a file, but none seem to explain how to get data from a database.
Can WP All Import, import data directly from a database?
OR do I have to set up a separate process for outputting the DB contents to a file so WP All Import can access it — less keen on this idea because, well, what’s the point of dropping all that data into a databse if it has to be replicated onto a file to be accessed?
And that file would need to be updated every time the DB was, so it would be better to simply access the DB directly.
Does anyone know how?
Or how to do this?
Thanks!
wp_yoast_seo_links
(”
wordpress works fine, but pernament links not working…
CREATE TABLE IF NOT EXISTS wp_yoast_seo_links
(
id
bigint(20) unsigned NOT NULL AUTO_INCREMENT,
url
varchar(255) COLLATE utf8mb4_unicode_520_ci NOT NULL,
post_id
bigint(20) unsigned NOT NULL,
target_post_id
bigint(20) unsigned NOT NULL,
type
varchar(8) COLLATE utf8mb4_unicode_520_ci NOT NULL,
PRIMARY KEY (id
),
KEY link_direction
(post_id
,type
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci AUTO_INCREMENT=1414 ;
#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’
]]>Also I cannot see any pictures I uploaded under media, but my child theme can be found under themes as well as the plugins I used before. If a make a new post I cannot find it as an entry in my new databases.
Please help!
Note: In my earlier installation I used the plugin polylang to setup my site bilingual. The plugin is still there but I have not activated it yet.
]]>I installed a new wordpress, replaced WP-content and imported my database.
the problem I now have, is that none of my posts are showing. I can see them in the database in PHPMyAdmin, but not on the site. The theme looks OK though.
I noticed there are 2 kinds of table prefixes in the database now. 1 from the imported database and one from the new install. when I change the table prefix in the WP-config file to the one fromt the imported database, the posts show up, but the layout is gone and I can’t login to /wp-admin anymore.
can anyone help? this is driving me mad!
]]>I’ve moved my site, something I’ve done many times but this time on database import I encountered some problems one which is listed below
The site is operational but I cannot save or publish anymore. The textblock is no longer visible and the ability to add images.
I’ve tried switching to a default theme, disabling all plugins and using the default theme only. I don’t know my way around MySQL and I’ve read elsewhere that I need to create wp_user_roles in the wp_options table.
Also I need to say I have debugged WP, optimised and repaired the database and nothing works.
Error with database import:
MySQL said: Documentation
#1064 – 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 ‘DROP TABLE IF EXISTSwp_my_calendar_categories
;
CREATE TABLE IF NOT EXISTS `wp’ at line 13
Error detected in WP:
object from empty value in /home/…../domains/…../public_html/wp-admin/includes/post.php on line 631
Any suggestions would be greatly appreciated because my hosting guy says this is beyond his scope and service.
Regards,
]]>SQL query:
INSERT INTO wp_options
(option_id
, option_name
, option_value
, autoload
) VALUES
(564, ‘howes’, ‘a:181:{s:8:”last_tab”;s:0:””;s:6:”layout”;s:7:”rounded”;s:18:”full_wide_elements”;a:3:{s:6:”header”;s:1:”1″;s:7:”content”;s:1:”1″;s:6:”footer”;s:1:”1″;}s:10:”responsive”;s:1:”1″;s:9:”skincolor”;s:7:”#722b5d”;s:10:”link-color”;a:2:{s:7:”regular”;s:0:””;s:5:”hover”;s:7:”#3980b2″;}s:17:”global_background”;a:7:{s:16:”background-color”;s:7:”#ffffff”;s:17:”background-repeat”;s:0:””;s:15:”background-size”;s:0:””;s:21:”background-attachment”;s:0:””;s:19:”background-position”;s:0:””;s:16:”background-image”;s:0:””;s:5:”media”;a:4:{s:2:”id”;s:0:””;s:6:”height”;s:0:””;s:5:”width”;s:0:””;s:9:”thumbnail”;s:0:””;}}s:16:”inner_background”;a:7:{s:16:”background-color”;s:7:”#ffffff”;s:17:”background-repeat”;s:0:””;s:15:”background-size”;s:0:””;s:21:”background-attachment”;s:0:””;s:19:”background-position”;s:0:””;s:16:”background-image”;s:0:””;s:5:”media”;a:4:{s:2:”id”;s:0:””;s:6:”height”;s:0:””;s:5:[…]
MySQL said: Documentation
#1064 – 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 2
]]>When I go to move a site, copy a site, or for any other reason import a database using the familiar phpMyadmin import process, I always have to go into Appearance > Menus and reassign the nav menu. Also, it seems like “auto add pages” is set to “yes”, although the box remains unchecked.
Specific example. A site that exists on a local server (dev environment in this case) needs a database import from the remote (live) site.
Upon successful import, everything is fine except the nav menu does not look anything like the live site. It appears that it’s not actually using the nav menu (although said menu, here named “Main Menu”, does exist in Appearance > Menus). Instead it’s just showing all top-level pages, which is what is *should* do if no nav menu is selected presumably.
So, live site has “auto add pages” unchecked and “theme locations” has only one option, “Primary Menu”, and this is checked.
Newly-DB-updated dev site has both boxes unchecked.
But then in the DB itself, I see this:
INSERT INTO wp_options VALUES(“157″,”theme_mods_grayff”, [bunch of stuff that is not pertinent] “nav_menu_locations\”;a:1:{s:7:\”primary\”;i:2;} [more stuff]
“nav_menu_locations” appears to be set as “primary” — which is correct, yet the box is unchecked and the site is not using this menu.
Then, there’s also this:
INSERT INTO wp_options VALUES(“159″,”nav_menu_options”,”a:2:{i:0;b:0;s:8:\”auto_add\”;a:0:{}}”,”yes”);
And that appears to indicate that “auto add pages” should be checked as well, but it is not.
Anyone have a clue as to what is happening here and why?
]]>this is my site :https://letempstg.com/
]]>I have been googling and researching and just completely lost so thought I would reach out to the WP community to see if anyone has any ‘Import mysqldump files for Dummies’ advice or even straight forward articles to point me to.
I started with importing using phpMyAdmin via the Cpanel but the upload limit is 50MB and my file is 65MB and cannot be split.
My other thought is – how much work will be involved after the data is installed to map it to the new site. I haven’t yet started building the profile fields for members assuming it might be better to work with what is being imported.
Can anyone help or advise? Thank you!
]]>