Creating a non-root MySQL User to Run Agile Apps

From AgileApps Support Wiki

You can create a non-root MySQL user with a limited set of permissions to run Agile Apps.

Following is the minimum list of permissions that a user should have to use Agile Apps:

  • SELECT
  • INSERT
  • UPDATE
  • DELETE
  • CREATE
  • DROP
  • GRANT OPTION
  • REFERENCES
  • INDEX
  • ALTER
  • CREATE TEMPORARY TABLES
  • LOCK TABLES
  • EXECUTE
  • CREATE VIEW
  • SHOW VIEW
  • CREATE ROUTINE
  • ALTER ROUTINE
  • TRIGGER ON

Run the SQL query as follows from the mysql command prompt: GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, GRANT OPTION,REFERENCES,INDEX,ALTER, CREATE TEMPORARY TABLES,LOCK TABLES,EXECUTE,CREATE VIEW,SHOW VIEW,CREATE ROUTINE,ALTER ROUTINE,TRIGGER ON *.* TO '<mysql_user_name>'@'<required_server_ip>';

For information on running the platform as a non-root user, see Running the Platform as a Non-Root User.