Chromagies/README.md

698 B

Chromagies

Database setup

Create database : CREATE DATABASE 'DATABASE_NAME';

Replace DATABASE_NAME with yours.

Create user : CREATE USER 'DATABASE_USER'@'localhost' IDENTIFIED BY 'A_VERY_BAD_PASSWORD'

Replace DATABASE_USER and A_VERY_BAD_PASSWORD by yours.

Give permissions to user : GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, CREATE VIEW, EVENT, TRIGGER, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EXECUTE ON 'DATABASE_NAME'.* TO 'DATABASE_USER'@'localhost';

Config setup

Start the program once, the "config.json" file will be created. Edit it and replace the "Database" section with your credentials and your database informations.