Which privileges are needed when using JDBC persistence store in A-MQ?

Solution Verified - Updated -

Issue

From the Configuring Broker Persistence,
the mysql user need to grant all privileges,
mysql> GRANT ALL PRIVILEGES ON activemq.* TO 'amq'@'localhost' WITH GRANT OPTION;
can we give less privileges instead?

Environment

  • Red Hat JBoss A-MQ 6.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.