Please select To the mobile version | Continue to access the desktop computer version
| |
| | |


 Forgot password?
View: 1267|Reply: 1
Collapse the left

How to update Discuz database?

[Copy link]

 United States

Post time: 2021-08-18 09:29
| Show all posts |Read mode
Hey guys,

Hope all is well?

As usual there are tons of uploads since my last return. I usually replace the changed files on my site and evertyhing seems to work well. But this time,

Revision #1586 has lot of new entries added to pre_common_setting in the database. Can Vot or anyone let me know how to update my pre_common_setting table with the new entries? I use phpmyadmin and MySQL

Does Discuz has a way to update the database tables only without losing already exsiting values?

Waiting for an answer.



Post time: 2021-08-18 21:35
| Show all posts
There is a special utility in Discuz for updating the DB structure.
But there is no utility to add a new settings into DB.

Starting from revision #1609 Discuz!ML have a special "migrate" folder for SQL data upgrading.
Each SQL file is named as a date of that changes appears in a database.
You can apply that files with phpmyadmin at your peril
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub


2022-08-19 22:23 GMT+3 , Processed in 0.033970 sec., 8 queries .

Powered by Discuz! X3.4

Copyright © 2001-2022, Tencent Cloud.

MultiLingual version, Release 20210926, Rev. 1653, © 2009-2022

Quick Reply To Top Return to the list