legacy-knowledge-base
公開されました Sep. 10, 2025

Lock_ テーブルをアップグレードしようとすると警告がスローされる

written-by

Alexandra Rujzam

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

移行ツールが Lock_ テーブルをアップグレードしようとしている間、いくつかの警告がスローされます。

WARN [main][UpgradeProcess:446] Attempting to upgrade table Lock_ by recreating the table due to: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key varchar(255)' at line 1

ログを見ると、テーブル Lock_ は最終的にアップグレードされるので、この警告はかなり無害です。

WARN - Successfully recreated and upgraded table Lock_

環境への配慮

  • Liferay DXP 7.0、7.1または7.2へのアップグレード

決議

これらの警告を取り除くには、この記事の のようにアップグレード前にインデックスを無効にしてください。 インデックスを無効にする

did-this-article-resolve-your-issue

legacy-knowledge-base