legacy-knowledge-base
公開されました Jun. 30, 2025

Liferay PaaSでマルチバイトのMySQLテーブルデータを確認する方法

written-by

Hamasaki Yutaro

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
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

問題

  • liferayサービスのshell2バイトコードの情報は、全て”??”と返り、内容が確認できません。

環境

  • Liferay Cloud

解決

  • Liferay Cloudコンテナのlocaleがデフォルトで、UTF-8をサポートしていないPOSIXに設定されております。このため日本語表記のユーザー名が正しくコンソールに表記されない様です。
     
    liferay/LCP.jsonを以下の様に設定後、デプロイいただくと設定を変更いただけます。
    変更後に該当のクエリを実行し、日本語表記のユーザー名となるかをご確認ください。
     
    <liferay/LCP.json>
    {

    "env": {

    "LANG": "C.UTF-8"

    },

    }
     

追加情報

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base