Code Monkey home page Code Monkey logo

Comments (6)

jamiesun avatar jamiesun commented on June 21, 2024

应该是数据库没有连接成功

from toughradius.

jamiesun avatar jamiesun commented on June 21, 2024

登录系统时增加了对错误的判断, 对可能的数据库连接错误会显示 “Database connection failed”

from toughradius.

v808comd avatar v808comd commented on June 21, 2024

我费了2天时间,更换各种参数也没成功。唉,估计只有作者自己知道怎么部署。

from toughradius.

swimmingchar avatar swimmingchar commented on June 21, 2024

我也遇到了这个问题,这个错误也有报

from toughradius.

lisbonbar avatar lisbonbar commented on June 21, 2024

TOUGHRADIUS_DB_HOST=172.20.0.2 #把这个参数改成数据库容器里面的ip地址就可以了。

from toughradius.

jining172 avatar jining172 commented on June 21, 2024

使用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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.