后端第一步开发完成,第一版回归测试完成

This commit is contained in:
Your Name
2026-01-31 19:09:48 +08:00
parent 11cef531bd
commit c9e75030af
26 changed files with 1686 additions and 184 deletions
+7
View File
@@ -0,0 +1,7 @@
-- 创建 ocean 专用数据库用户(解决 root@localhost 的 Access denied
-- 执行:sudo mysql < backend/scripts/create_db_user.sql
-- 然后将 backend/.env 中 MYSQL_USER=ocean, MYSQL_PASSWORD=你设置的密码
CREATE USER IF NOT EXISTS 'ocean'@'localhost' IDENTIFIED BY 'ocean123';
GRANT ALL PRIVILEGES ON ocean.* TO 'ocean'@'localhost';
FLUSH PRIVILEGES;