关于SQL的配置问题
Closed this issue · 7 comments
在运行项目sql
文件夹中的oj.sql
后,网页端显示网站维护中...马上回来~,无法进行任何操作,请问这种问题如何解决?
自动跳转到了Maintain.php
将'oj_data'表中的maintain字段对应的值改为0
另外,应该执行openjudge_new.sql,我记得有更改
其实是openjudge.sql是新的表的结构,但是由于偷懒我并没有在新的sql文件中写上一些应该有的初始数据,需要对照oj.sql中的相关insert语句自行插入
谢谢! 项目的Readme里头写的是“运行openjudge.sql即可初始化数据”,可能需要更新了。😀 使用admin和123456登陆时出现了错误,望解答,谢谢。😊
…
------------------ Original ------------------ From: "Setiuo/PHP_OnlineJudge" <notifications@github.com>; Date: Fri, Nov 6, 2020 06:53 PM To: "Setiuo/PHP_OnlineJudge"<PHP_OnlineJudge@noreply.github.com>; Cc: "CCC_XHR"<1448704418@qq.com>;"Author"<author@noreply.github.com>; Subject: Re: [Setiuo/PHP_OnlineJudge] 关于SQL的配置问题 (#7) 将'oj_data'表中的maintain字段对应的值改为0 另外,应该执行openjudge_new.sql,我记得有更改 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
登录时出现什么错误呢