Moonshine utilizes the root MySQL user to ensure that your app’s database exists and the your app’s MySQL user exists with the necessary permissions.
By default, Moonshine sets up the root MySQL user with no password. If you wish to add a root user password, be sure to add the following configuration to your server(s) so that Moonshine will be able to manage your database.
/root/.my.cnfwith the following contents:
[client] user = root password = <secret>
chmod 0600 /root/.my.cnf
See more information about this convention.