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

Liferay Experience Cloud - SM - DB ユーザーには、データベース サービスに対するスーパー権限がありません

written-by

Alfonso Crisci

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 Experience Cloud - SM バックアップ サービスは以下をスローします。
    ERROR 1227 (42000) at line XX: Access denied; you need (at least one of) the SUPER privilege(s) for this operation 
    XX 行に、以下の SQL コマンドが存在します。
    CREATE DEFINER = `dbadmin` @ `localhost` PROCEDURE `getData` () 

Environment

  • Liferay エクスペリエンス クラウド - SM

解決策

  • Google Cloud SQL (基礎となる LXC-SM) では、ユーザーに SUPER 権限を追加できません。

    解決策として:

    - すべての DEFINE 宣言を削除する必要があります。たとえば、(DEFINER = `dbadmin` @` localhost`) をダンプ ファイルから削除するか、または
    置き換えます。 DEFINER = `dbadmin` @` localhost` から DEFINER = `dxpcloud` @` %`

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base