We need to login to the Raspberry Pi, and create a new user:
$ mysql -u root -p
mysql> CREATE USER 'admin'@'localhost' IDENTIFIED BY '[USER_PASSWORD]';
mysql> GRANT CREATE, DELETE, DROP, EXECUTE, SELECT, SHOW DATABASES ON *.* TO 'admin'@'localhost';
mysql> FLUSH PRIVILEGES;
This will be the user / password we use to define various database related task on the raspberry pi. This will ensure a clear separation between root, and our new user admin.
We need to login to the Raspberry Pi, and create a new user:
This will be the user / password we use to define various database related task on the raspberry pi. This will ensure a clear separation between
root
, and our new useradmin
.