Skip to content

os/gtime: kingbase v8r3 link failed #4262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yuyinw opened this issue Apr 28, 2025 · 0 comments
Open

os/gtime: kingbase v8r3 link failed #4262

yuyinw opened this issue Apr 28, 2025 · 0 comments
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.

Comments

@yuyinw
Copy link

yuyinw commented Apr 28, 2025

Go version

go1.22.3

GoFrame version

2.9.0

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

when iuse gdb.New to connect to kingbase v8r3, code :
db, _ := gdb.New(gdb.ConfigNode{
Type: "pgsql",
Host: "x.x.x.x",
Port: "54321",
User: "kingbase",
Pass: "kingbase",
Name: "kingbase",
Extra: "sslmode=disable",
})

tables, err := db.Tables(context.TODO())
if err != nil {
	g.Log().Error(context.TODO(), err)
}
g.Log().Debug(context.TODO(), tables)

What did you see happen?

it reports : SELECT c.relname FROM pg_class c INNER JOIN pg_namespace n ON c.relnamespace = n.oid WHERE n.nspname = 'public' AND c.relkind IN ('r', 'p') ORDER BY c.relname: pq: 用户 "kingbase" Password 认证失败

What did you expect to see?

connect to kingbase v8r3 success

@yuyinw yuyinw added the bug It is confirmed a bug, but don't worry, we'll handle it. label Apr 28, 2025
@yuyinw yuyinw changed the title os/gtime: issue title os/gtime: kingbase v8r3 link failed Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.
Projects
None yet
Development

No branches or pull requests

1 participant