Go to file
POUDEROUX Tom b03e2d2af1 Add profiler, edit to database behaviour (Add retries) 2025-04-26 11:19:20 +02:00
src Add profiler, edit to database behaviour (Add retries) 2025-04-26 11:19:20 +02:00
static 1st commit 2025-04-23 00:36:49 +02:00
.gitignore Add profiler, edit to database behaviour (Add retries) 2025-04-26 11:19:20 +02:00
LICENSE.txt Add license + Edit config.go 2025-04-23 00:50:24 +02:00
README.md Adding the database + README 2025-04-23 21:43:57 +02:00
go.mod Adding the database + README 2025-04-23 21:43:57 +02:00
go.sum Adding the database + README 2025-04-23 21:43:57 +02:00
main.go Add profiler, edit to database behaviour (Add retries) 2025-04-26 11:19:20 +02:00

README.md

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, CREATE, DELETE, UPDATE, DROP, EXECUTE ON 'DATABASE_NAME' TO 'DATABASE_USER'@'localhost';