Comments (6)
应该是数据库没有连接成功
from toughradius.
登录系统时增加了对错误的判断, 对可能的数据库连接错误会显示 “Database connection failed”
from toughradius.
我费了2天时间,更换各种参数也没成功。唉,估计只有作者自己知道怎么部署。
from toughradius.
我也遇到了这个问题,这个错误也有报
from toughradius.
TOUGHRADIUS_DB_HOST=172.20.0.2 #把这个参数改成数据库容器里面的ip地址就可以了。
from toughradius.
使用Windows 部署时发现 \config\config.go 文件内
Database: DBConfig{
Type: "postgres",
Host: "127.0.0.1",
Port: 5432,
Name: "toughradius_v8",
User: "postgres",
Passwd: "myroot",
MaxConn: 100,
IdleConn: 10,
Debug: false,
的名称 用户 密码 三项与文档中数据库 创建命令 不一样,改三项成 toughradius 后就可以登陆啦。
非专业人员,此信息希望能帮助更多人
from toughradius.
Related Issues (20)
- Quick Start Inaccurate HOT 5
- Does toughradius radius-server support EAP based authentication? HOT 3
- Page switching problem between Chinese and English HOT 1
- Is this a major flaw? HOT 1
- unauthorized access to device HOT 3
- ca17/toughradius:latest unable to download HOT 1
- 太难搭建了,用docker 也不成功! HOT 10
- 关于字体找不到的问题 HOT 2
- Default account and password HOT 2
- 请教如何获取 challenge 和 response HOT 8
- 中文英文转换无效 HOT 2
- docker部署,怎么初始化? HOT 2
- 最后在线时间不会更新 HOT 2
- 针对最新版能否出一个windows下的安装教程 HOT 1
- v8.0.2 HOT 4
- Rest Api Documentation HOT 1
- 后面版本可以支持802.1x认证协议吗 HOT 1
- 计费流量单位可以自定义转换吗 HOT 2
- MikroTik Attributes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toughradius.