Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
- We have created users who can access the database by the
CREATE USER 'username'@'hostname' IDENTIFIED BY 'password '; command and granted certain permissions to them
- Those users are specified in the LCP_DATABASE_USER_WHITELIST environment variable
- Now we're trying to change the passwords of those users and update their other data with our Liferay Cloud user but we get a
ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation
Resolution
- You can change the users' passwords only with the user you've created them
- That should be the default database user whose credentials can be found in the LCP_SECRET_DATABASE_USER and LCP_SECRET_DATABASE_PASSWORD environment variables