User Tools

Site Tools


t1.1_preparing_the_database

This is an old revision of the document!


Preparing the database

Platform4PHP uses the MySQL database. There are two steps for preparing the database. First we need to create the master database, and if we want to use the full capabilities of Platform4PHP's ability to work with instances, we also need a database user that is allowed to create new databases.

Creating the user

We start by creating a user for Platform4PHP and granting them full permissions.

CREATE USER 'people_database_user'@'localhost' IDENTIFIED BY 'mysecretpassword';
GRANT ALL ON *.* TO 'persons_database_user'@'localhost' WITH GRANT OPTION;

Creating the master database

Then we create the master database.

CREATE DATABASE people_application;

That's it.

t1.1_preparing_the_database.1605125432.txt.gz · Last modified: 2020/11/11 20:10 by sahl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki