panic: 数据库连接失败!
APPX-Studio opened this issue · 1 comments
APPX-Studio commented
./go-fly install
2021/03/14 11:22:15 Error 1044: Access denied for user 'go-fly'@'127.0.0.1' to database 'go-fly'
panic: 数据库连接失败!
goroutine 1 [running]:
github.com/taoshihan1991/imaptool/models.init.0()
/var/www/html/go-fly/models/models.go:28 +0x3a4
sarurifan commented
去修改下/config/config.json 里面是数据库连接参数