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

データベースとしてMariaDBを使用して2024.q1.1にアップグレードすると、"Column count doesn't match value count at row 2 "エラーが発生します。

written-by

Daniel Mijarra

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

問題

  • Liferay DXP 7.3をQuarterly 2024.q1.1にアップグレードすると、ログに "Column count doesn't match value count at row 2 "というエラーが表示されます。

環境

  • 2024.q1
  • マリアDB 10.4

解像度

  • 考えられる原因は、MariaDBの接続URLにrewriteBatchedStatements=trueパラメータが使用されていることです。
  • このパラメータは、アップグレードの実行と互換性のないバッチ操作のためのパフォーマンス拡張である。
  • portal-upgrade-database.properties(jdbc.default.url)で構成されたurl接続からこのパラメータを削除し、アップグレードを再試行してください。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base