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

CodersClub

 Forgot password?
 Register
Search
View: 149|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.

Cheerios......
Evan

 Russia

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

Top.Mail.Ru
Top.Mail.Ru

2021-09-19 13:04 GMT+3 , Processed in 0.033986 sec., 8 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

MultiLingual version, Release 20210816, Rev. 1605, © 2009-2021 codersclub.org

Quick Reply To Top Return to the list