LAST_INSERT_ID seems to be available only in Cubrid 8.4.0 (beta). But after reinstalling version 8.4.0 I can not connect to it (worked in 8.3.1) even after:
C:\CUBRID\bin>cubrid server start demodb ++ cubrid server start: success On May 17, 2:39 pm, DenesL <[email protected]> wrote: > Connect working after issuing > > cubrid server start demodb > > Testing... > > On May 17, 10:58 am, DenesL <[email protected]> wrote: > > > > > > > > > I mean that I patched the dal myself ;) > > > Anyways, I have trouble connecting even from outside web2py. > > Tried with 8.4.0 beta and 8.3.1 but I keep getting an error with the > > demodb created during install: > > > >>> conn = cubriddb.connect('localhost', 30000, 'demodb', 'dba', '') > > > Traceback (most recent call last): > > File "<pyshell#1>", line 1, in <module> > > conn = cubriddb.connect('localhost', 30000, 'demodb', 'dba', '') > > File "C:\Python26\lib\cubriddb.py", line 170, in __init__ > > self._db = cubrid.connect(*args, **kwargs) > > Error: (-1, 'ERROR: DBMS, 0, Unknown DBMS Error') > > > >>> conn = cubriddb.connect('localhost', 30000, 'demodb') > > > Traceback (most recent call last): > > File "<pyshell#2>", line 1, in <module> > > conn = cubriddb.connect('localhost', 30000, 'demodb') > > File "C:\Python26\lib\cubriddb.py", line 170, in __init__ > > self._db = cubrid.connect(*args, **kwargs) > > Error: (-1, 'ERROR: DBMS, 0, Unknown DBMS Error') > > > On May 17, 9:38 am, Massimo Di Pierro <[email protected]> > > wrote: > > > > :-) > > > > Of course! It is in trunk. I have not tested it and I am not (yet) > > > taking advantage of the sequence type and the full-text support (we > > > need a more global strategy for that). > > > > If anybody wants to try it: > > > > 1) install cubriddb > > > 2) use > > > > db = DAL('cubrid://username:password@hostname:port/dbname') > > > > Let me know if it works or what errors you get. > > > > Massimo > > > > On May 17, 2:00 am, pbreit <[email protected]> wrote: > > > > > If it's pretty much compatible with MySQL, I'm guessing Massimo will > > > > have it > > > > supported in DAL by the time we wake up > > > > tomorrow!http://code.google.com/p/web2py/source/browse/gluon/dal.py > > > > > The performance and scalability features do sound attractive. I'm not > > > > sure > > > > I'd switch off of Postgres at this point but it might be worthwhile to > > > > try > > > > it out on a project.

