It defaults to localhost, but you can pass another host as a parameter
after the password (and another port number after the host). All the
parameters are simply passed to LuaSQL's connect, in order, so check
http://www.keplerproject.org/luasql/manual.html#mysql_extensions

--
Fabio Mascarenhas


On Sat, Oct 16, 2010 at 1:26 AM, Dewey Gaedcke <de...@minggl.com> wrote:
> Hi Guys,
> I'm new to Kepler/Orbit as well as CGI, but I'm really enjoying studying
> your impressive code & learning the techniques.
> When studying the "blog" tutorial, and looking in blog_config.lua, at line
> 24 is the database configuration information.   What's missing (from my
> perspective) on the mysql side is "hostname".   There does not seem to be
> any place to tell the model/orm/mapper where on the net the mysql database
> will live?
> Does it default to "localhost" or am I missing something obvious?
> And more importantly than this specific answer, I would appreciate you
> pointing me at where I should be going in the future to answer things like
> this for myself.
> Regards,
> Dewey
> _______________________________________________
> Kepler-Project mailing list
> Kepler-Project@lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to