On Jan 25, 2008 3:44 PM, jm <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] wrote:
>
> >
> > Eshell V5.5.5  (abort with ^G)
> > 1>  erlydb:start(mysql, [{hostname, "localhost"}, {username, "root"},
> > {password, "pass"}, {database, "blog"}]).
> > .....
>
> This would have been my first guess that you forgot this step. Was there
> any more info displayed in the erl shell? Try
>
> whereis(mysql_dispatcher).   at the erl prompt you should get the pid
> back fror the mysql_dispatcher process. eg,
>
> 509> whereis(mysql_dispatcher).
> <0.93.0>
>
> if not what did the erlydb:start(mysql, ...) result in?
>
> In answer to
>  > I don't understand what is 32 in <<"id">>,32,<<"DESC">> and what I'm
> doing wrong.
>
> <<"SELECT ">>,<<"*">>], <<" FROM ">>, <<"entry">>], []],
>   [<<" ORDER BY ">>, [[<<"id">>,32,<<"DESC">>]
>
> translates to "SELECT * FROM entry ORDER BY id DESC" by the time it
> reaches the database server.
>
> 32 decimal is the integer value of space. Do a "man ascii" on most unix
> boxes will give you a table of ascii values in octal, hexidecmal, and
> decimal.
>
> hope that helps. How familar are you with erlang and unix? what platform
> is this on? etc.
>
> On another note, we need a fancy acronym like LAMP: Linux, Yaws, Mysql,
> Erlyweb. LEMY? LYME (pronounced lime)? That's not bad. LYME - the new
> flavour of web development.

LYME has a nice ring to it :)

Yariv

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to