Create MySQL database and users
- replace <administrative passphrase> below with the
passphrase you will use to access and modify the database as an
administrator
note that you
could skip this line and just use MySQL root as the administrative
user...
- replace <webserver passphrase> below with the
passphrase that the webserver will use to access the database in
day-to-day operation
mysql -u root -p
CREATE DATABASE beryliumdb;
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON beryliumdb.* TO berylium@localhost IDENTIFIED BY '<administrative passphrase>' ;
GRANT SELECT, INSERT, UPDATE ON beryliumdb.* TO beryliumweb@localhost IDENTIFIED BY '<webserver passphrase>' ;
FLUSH PRIVILEGES;
exit;