Files
Nexus/scripts/grant_nexus_local.sql
T
Your Name 80d73d1b74 fix: WSL startup compatibility + dependency updates
- redis/client.py: use BlockingConnectionPool.from_url() (fixes 'url' kwarg error)
- database/engine_compat.py: patch aiomysql do_ping to satisfy pool_pre_ping
- database/session.py: apply engine_compat patch before create_async_engine
- requirements.txt: SQLAlchemy 2.0.49 (fixes aiomysql ping() reconnect signature)
- .env.example: document NEXUS_REDIS_URL format
- scripts/wsl_ensure_venv.sh: create project .venv (PEP 668 safe)
- scripts/wsl_start_dev.sh: use .venv python, validate Redis before start
- scripts/wsl_integration_smoke.sh: code-only verification mode
- scripts/wsl_check_mysql.py / bootstrap_database.py: MySQL setup helpers
- scripts/sync_frontend_vendor.py: vendor asset sync utility

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-23 15:27:18 +08:00

10 lines
299 B
SQL

-- Local dev: full privileges for Nexus app user on nexus database
-- Run: mysql -h 172.31.170.47 -u root -p < scripts/grant_nexus_local.sql
GRANT ALL PRIVILEGES ON `nexus`.* TO 'Nexus'@'%';
GRANT ALL PRIVILEGES ON `nexus`.* TO 'Nexus'@'localhost';
FLUSH PRIVILEGES;
SHOW GRANTS FOR 'Nexus'@'%';