[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luasql and sphinxql
- From: Philipp Janda <siffiejoe@...>
- Date: Tue, 13 Oct 2015 16:47:44 +0200
Am 13.10.2015 um 15:50 schröbte David Muscut:
On Tue, Oct 13, 2015 at 4:34 PM, Philipp Janda <firstname.lastname@example.org> wrote:
The luasql documentation says that the first argument (after `self`)
has to be the `sourcename` (I think that's the database name):
I tried that as well, however when I use the index name lua can't connect
to the sphinxql server.
What is the index name?
The other strange bit is that there is no
authentication to the sphinxql server, while there is to mysql, however I
get an access denied when I don't include the mysql credentials even though
the connection request specifies the sphinxql server on port 9306.
All arguments except the `sourcename` are optional, so you could pass
`nil` for those (port should be 9306 of course). You can try passing the
empty string `""` as sourcename. Unfortunately, there is no way to force
TCP as transport protocol, but hopefully specifying a port (and maybe
"127.0.0.1" as hostname) will be sufficient.
Anyway, passing "localhost" (or "user") as sourcename won't do any good.