When nosqlprotocol is started with the following configuration
it should check whether the NoSQL account database is empty and if it is, it should create a a NoSQL user the_user with the password the_password, and give it the NoSQL capabilities corresponding to what SHOW GRANTS reports for the user.
With this functionality, the bootstrapping of a secure nosqlprotocol installation is significantly simplified. All that needs to be done is:
- Create the user in MariaDB.
- Configure nosqlprotocol in the MaxScale configuration file as above.
- Start MaxScale.
Without this functionality, the creation of a secure nosqlprotocol installation requires MaxScale needs to be started multiple times, with the MaxScale configuration file edited in between.