Yexi
发布于

请问有大佬能指导一下这个是什么问题吗

运行 bbs-go-server 的时候,提示以下:

ERRO[0000] yaml: line 36: did not find expected node content

ERRO[0000] open : no such file or directory

2021/06/20 09:27:24 /root/go/pkg/mod/github.com/mlogclub/simple@v1.1.6/db.go:32

[error] failed to initialize database, got error Error 1045: Access denied for user ''@'localhost' (using password: NO)

ERRO[0000] opens database failed: Error 1045: Access denied for user ''@'localhost' (using password: NO)

ERRO[0000] Error 1045: Access denied for user ''@'localhost' (using password: NO)

Now listening on: http://localhost:

Application started. Press CTRL+C to shut down.

评论(2)
  • wangheng

    ????

  • 小码哥
    小码哥 回复
    数据库连不上呀。看下你的数据库连接地址、账号、密码配置的对不对。