Skip to content

How to specify a database #24

Open
@zxuewu

Description

@zxuewu

I checkout all the file, I did not find an example on how to specify database. So I try to use Sphinxql() function directly, like

cl := manticore.NewClient()
cl.SetServer("localhost", 9312)
cl.Open()
foo, err := cl.Sphinxql("select * from kgall; show meta;")
fmt.Println(foo, err)

But I got " [ERROR 1064 (42000): unknown local table(s) 'kgall' in search request] " for response.
What should I do to do a query job.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions