Install MySQL Server. For more information on Droid, please see droidphp.com.
The steps involved are:-
- Prevent the mysql-server package from interactively asking for a new root password.
- Install mysql-server (and php5-mysql) packages.
- The platform is Debian-based.
- The MySQL Service is not already installed.
- The user-supplied root password is used for all MySQL services installed by this module.
-
One or more Inventory Hosts, having a
public_ip
. -
Password values for the following variables:-
mysql_root_password: # For the root user
-
An array of user accounts to create, with grants/permissions:
username: "repln" password: "super_secret_password_one" allowed-host: all grant: "REPLICATION SLAVE" grant-level: "*.*"
- username: "joe" password: "super_secret_password_two" allowed-host: all grant: "SELECT, UPDATE, INSERT, DELETE, CREATE, INDEX, ALTER, DROP, LOCK TABLES, CREATE VIEW" grant-level: "."