Hi, Thanks for the bug report.
Just add a call to 'close on your port at end of your code and it will be= ok, like this: REBOL [] db: open mysql://root:[EMAIL PROTECTED]/prova insert db "select * from tabella1" print copy db close db BTW, I've noticed while testing this error that the current port get clos= ed by the REBOL GC wrongly. I've checked my code and I'm correctly cloning the = port! value and all the sub objects, so I guess that it is caused by a GC bug. About the other error: ** User Error: ERROR 1043 : Bad handshake it is something that happens randomly, I don't know what is causing that.= I'm still investigating this issue, if someone have any clue or have a script= that reproduce it everytime, please send it here. -- DocKimbel. Selon Giuseppe Chillemi <[EMAIL PROTECTED]>: > > > Maybe I do some error but I have the following problem: > > This is the script I use: > > REBOL [] > db: open mysql://root:[EMAIL PROTECTED]/prova > insert db "select * from tabella1" > print copy db > > If I run mysql-protocol.r and start the script all is ok. > If I start again my script I have the following error: > > >> do %provasql.r > ** Access Error: Port prova already closed > ** Where: read-rows > ** Near: print copy db > > I must restart mysql-protocol.r to have it working again. > > > Starting the script repeatly (in a short time range) I had this error =3D > too: > > >> do %provasql.r > ** User Error: ERROR 1043 : Bad handshake > ** Near: db: open mysql://root:[EMAIL PROTECTED]/prova > > I have modified the script to MySQL protocol loaded at the start of the > script > > REBOL [] > do %mysql-protocol.r > db: open mysql://root:[EMAIL PROTECTED]/prova > insert db "select * from tabella1" > print first copy db > wait 1 > insert db "select * from tabella1" > print second copy db > > But I always have the same error if I start it repeatly > > >> do %provasql.r > ** Access Error: Port prova already closed > ** Where: read-rows > ** Near: print copy db > > It seems there is some timing problem. > > Giuseppe Chillemi > > > > > -----Messaggio originale----- > Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di= =3D > Petr > Krenzelok > Inviato: venerd=3DEC 13 gennaio 2006 9.59 > A: [EMAIL PROTECTED] > Oggetto: [REBOL] fixes - Re: MySQL 1.0.0 beta driver released .... > > > For those who downloaded beta driver, please redownload, there were som= e =3D > > fixes - not to new functionality, but some community member sent some=3D= 20 > fixes/improvements earlier to DocKimbel, which were now implemented. Fo= r =3D > > more you can read: > > http://www.rebol.net/altweb/rebol3/chat220.html > > -pekr- > > Petr Krenzelok napsal(a): > > >Hi guys, > > > >I have very good news for you. Good old friend DocKimbel heard our cal= l =3D > > >for update for mysql protocol, and here it is: > > > >New MySQL driver version 1.0.0 supporting servers v4.1.1+ =3D20 > >http://softinnov.org/tmp/mysql-protocol.r . This is a beta release,=3D= 20 > >please report any bugs, I will collect them and post back to altME. =3D > This=3D20 > >release has not been tested with servers v3.x (but should work). > > > >I think it will work imediatelly though ... > > > >enjoy, > >Petr > > =3D20 > > > > > --=3D20 > To unsubscribe from the list, just send an email to=3D20 > lists at rebol.com with unsubscribe as the subject. > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. > > -- -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
