最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Two prefixes in database? Which one is valid?

programmeradmin0浏览0评论

I am trying to manually migrate an install and have come across this. My DB has some qfo_ prefixed rows and some wpaq_ prefixed rows. The qfo_ are all duplicates of the others (in other words, there is a qfo_commentmeta and a wpax_commentmeta, etc.).

To get the db hooked up, I have to change the options row, but which one? or both? And is having these two prefixes in one DB a problem?

I am trying to manually migrate an install and have come across this. My DB has some qfo_ prefixed rows and some wpaq_ prefixed rows. The qfo_ are all duplicates of the others (in other words, there is a qfo_commentmeta and a wpax_commentmeta, etc.).

To get the db hooked up, I have to change the options row, but which one? or both? And is having these two prefixes in one DB a problem?

Share Improve this question asked Jan 23, 2021 at 19:55 Mike CMike C 1213 bronze badges 1
  • Check for $table_prefix in your wp-config.php file <wordpress/support/article/editing-wp-config-php/…> – bosco Commented Jan 28, 2021 at 15:47
Add a comment  | 

1 Answer 1

Reset to default 2

Check the wp_config.php file... look for a line that reads:

$table_prefix = 'qfo_';

Or...

$table_prefix = 'wpax_';

Which ever one is set in wp_config.php is the one that your WordPress site is using. If the tables aren't being used then they're not really doing any harm other than taking up space, but once you're sure you've got everything you need from them then you can probably just drop them from the database.

发布评论

评论列表(0)

  1. 暂无评论