- point MySQL and Whisper settings to the VM - add VM MySQL bootstrap scripts and docs - allow LAN Vite origins for CORS - fix Express 5 validation assignment crash - allow login with username or email - prevent recursive auth refresh retries
673 B
673 B
Remote MySQL Setup
Create a database user that can connect from the API host:
CREATE DATABASE orphion CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'orphion'@'%' IDENTIFIED BY 'NexaVault2026!Blue';
GRANT ALL PRIVILEGES ON orphion.* TO 'orphion'@'%';
FLUSH PRIVILEGES;
Configure:
DB_HOST=172.16.10.64
DB_PORT=3306
DB_NAME=orphion
DB_USER=orphion
DB_PASSWORD=NexaVault2026!Blue
For the VM setup, run the database/user bootstrap from this project:
sh scripts/bootstrap-vm-mysql.sh <vm-user>@172.16.10.64
That command runs the VM MySQL grant setup and then applies the project schema through:
npm run migrate