INNOV-AI

Innovation and Research from Réunion Island, France

Back   Home

Start the server for the first time (remote mode - MySQL 8 Database) @ System @ MentDB Weak

- Install MySQL 8

- Create the database 'mentdb' with the 'Latin1' charset

- CREATE DATABASE mentdb CHARACTER SET latin1 COLLATE latin1_swedish_ci;

- CREATE USER 'mentdbuser'@'localhost' IDENTIFIED BY 'pwd';

- GRANT ALL PRIVILEGES ON mentdb.* TO 'mentdbuser'@'localhost';

- FLUSH PRIVILEGES;

- Go to the MentDB_Weak directory...

- Open the conf directory...

- Edit the file server.conf

- Go to the [SQL] section

- You can see the line: light_mode=true

- Change it by light_mode=false

- If light_mode=true then "H2 database - embedded mode" else "MySQL database - server mode"

- You are now in MySQL mode

- Update the MySQL connection 'host', 'port', 'db', 'user', 'pwd'

- Save the file

- Go to the MentDB_Weak_Server_GPLv3 directory...

- Open bin directory...

- Choose your OS (windows / linux/ osx / raspberry32)

- Double clic on start.sh (or start.bat for Windows)

Your server is started.

start: 2025-11-22   end: 2025-11-22   v_start: 400   v_end: