Can’t update the database successfully
-
Hi, I’m still not able to update the database without the error. Can you please see the original thread? Thanks!
https://ww.wp.xz.cn/support/topic/cant-optimize-database-after-plugin-upgrade/#post-16239975
-
Hi,
I will reach out our dev team and try to come up with more details for that issue next week.Amazing, thanks!!
Could you tell me at what message the optimization process stops?
Also, can you tell me what values the following operations have?
trp_updated_database_original_id_insert_166
trp_updated_database_original_id_cleanup_166
trp_updated_database_gettext_original_id_update
trp_updated_database_gettext_original_id_insert
trp_updated_database_gettext_original_id_cleanupThe ones that remains with “no” means were not executed.
However, TranslatePress will work even those are not exectured, so don’t worry if you will find them with “no”.
Moreover, you can try see what collation you have for your tables. You should have utf8mb4_general_ci. If not, please make these settings and run again the optimization process.I don’t actually get any messages at all. It just says “Updating TranslatePress tables” with dots slowly filling across the the screen, and after about two hours, it just stops.
trp_updated_database_original_id_insert_166: yes
trp_updated_database_original_id_cleanup_166: yes
trp_updated_database_gettext_original_id_update: no
trp_updated_database_gettext_original_id_insert: no
trp_updated_database_gettext_original_id_cleanup: noI’m not sure where the table collation options are located; could you let me know how to change that and if it’s safe to change it?
Thanks!
I updated the wp-config.php to include the utf8mb4_general_ci in the collate tables area, but still the same thing
Hi,
— I’m not sure where the table collation options are located; could you let me know how to change that and if it’s safe to change it?
Please, check the following for more details: https://mediatemple.net/community/products/dv/204403914/default-mysql-character-set-and-collation.
I did that and the issue is the same. How long should the update take? I left my computer for over an hour, but it still just hangs once the dots cross the screen.
Hi,
For some reason, just gettext translation tables fail — most of gettext transactions come from plugin/theme .po/.mo files in the popular languages. If you know you don’t have many translations added manually for gettext strings, you can DROP all these gettext tables (with trp_gettext prefix) from your database then go to Settings->TranslatePress->General tab -> Save settings. This will regenerate those tables, and then should not have issues anymore with DB Update. The gettext translations will be regenerated gradually, where the translations exist, and if you use automatic translation will be translated the rest of ones also.
Thank you! This finally resolved everything!!
Glad to know that.
Also, I was wondering, since you have been using TranslatePress for a while now, will it be too much to ask for you to leave a review on https://ww.wp.xz.cn/support/plugin/translatepress-multilingual/reviews/?
One or two sentences will do it and it may help us to reach more people as well as get feedback from existing users.We have also a Youtube channel that you might find useful.
The topic ‘Can’t update the database successfully’ is closed to new replies.