How to Upgrade Binary Deployment?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: Binary部署如何升级?

| username: daylight

【TiDB Usage Environment】Production Environment
【TiDB Version】5.4.1
【Reproduction Path】
【Encountered Problem: Problem Phenomenon and Impact】
【Resource Configuration】Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
【Attachments: Screenshots/Logs/Monitoring】

| username: Billmay表妹 | Original post link

I don’t understand your question. You can just use tiup for TiDB!

| username: daylight | Original post link

At first, I couldn’t find the tiup command and thought there were only binary commands :joy:. Will there be any issues upgrading directly from version 5.4.1 to the latest stable version using tiup?

| username: TiDBer_QYr0vohO | Original post link

The version gap is too large, not recommended. You can deploy a new stable version cluster and migrate the data over.

| username: Billmay表妹 | Original post link

I agree with the previous comment. After deploying with tiup and migrating the data, your subsequent version upgrades will be very smooth. Otherwise, each upgrade will be very painful.

| username: daylight | Original post link

Okay, thank you.

| username: daylight | Original post link

Indeed, thank you.

| username: zhh_912 | Original post link

Upgrade using TIUP

| username: 小于同学 | Original post link

The version gap is quite large.

| username: yytest | Original post link

It is recommended to upgrade to the latest version of TiDB first. Currently, 7.5.1 is the latest stable version.