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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content